fix typo in Dockerfile
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ ADD ./ /code
|
|||||||
# 设置code文件夹是工作目录
|
# 设置code文件夹是工作目录
|
||||||
WORKDIR /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脚本
|
#当容器启动时,使用python3执行指定路径的py脚本
|
||||||
CMD ["python", "/code/WebAPI.py"]
|
CMD ["python", "/code/WebAPI.py"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user