diff --git a/Dockerfile b/Dockerfile index 4d12f23..b82ed91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ADD ./ /code # 设置code文件夹是工作目录 WORKDIR /code # 安装支持 -RUN pip install -r requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple +RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple #当容器启动时,使用python3执行指定路径的py脚本 CMD ["python", "/code/WebAPI.py"]