Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sinacloud/python-getting-started-dockerfile

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile创建Python应用示例

本地运行

$ git clone https://github.com/sinacloud/python-getting-started-dockerfile.git
$ cd python-getting-started-dockerfile
$ python main.py

现在,本示例应用已经跑在了你的 localhost:5050 端口上了。

部署到sinacloud

首先,提交代码到你的sinacloud应用的git仓库。

登陆sinacloud容器云的管理页面,在运行环境管理-代码管理-如何部署查看部署代码方式。

部署完成之后,你就可以通过 http://$APPNAME.saelinzi.com 来访问你的应用了。

如果您的应用显示未激活,您需要设置host才能访问,设置方法参见应用的管理页面

相关文档

About

使用Dockerfile创建Python应用示例

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.