文件名称:python-test
文件大小:8KB
文件格式:ZIP
更新时间:2024-03-30 05:57:09
Python
python-flask-docker Docker中的基本Python Flask应用程序,可打印容器的主机名和IP 构建应用 通过克隆Git存储库手动构建Docker映像。 $ git clone https://github.com/lvthillo/python-flask-docker.git $ docker build -t lvthillo/python-flask-docker . 下载预创建的图像 您也可以从下载现有映像。 docker pull lvthillo/python-flask-docker 运行容器 从图像创建一个容器。 $ docker run --name my-container -d -p 8080:8080 lvthillo/python-flask-docker 现在访问 The hostname of the container i
【文件预览】:
python-test-main
----.circleci()
--------config.yml(416B)
----Dockerfile(201B)
----.gitignore(1KB)
----README.md(1KB)
----LICENSE(11KB)
----app()
--------app.py(409B)
--------templates()
----requirements.txt(12B)