diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fc86876 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# 使用自定义 Docker Registry 中的官方 Python 镜像作为基础镜像 +FROM git.tunpok.com/ching/python-env:latest + +# 设置工作目录 +WORKDIR /app + +# 将当前目录下的所有文件复制到容器中 +COPY . . + +# port number +EXPOSE 5000 + +# run flask app +CMD ["python", "app.py"] \ No newline at end of file