Ver Fonte

01031432

David há 5 meses atrás
pai
commit
f8d6e123f6
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      Dockerfile

+ 3 - 2
Dockerfile

@@ -14,11 +14,12 @@ WORKDIR /app
 
 # 复制当前目录内容到工作目录
 # COPY . /app
+COPY requirements.txt .
 
 # 安装依赖项(如果有)
 RUN set -ex \
     && pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
 # 设置 ENTRYPOINT 为 Python 脚本
-ENTRYPOINT ["python", "run_all.py"]
+# ENTRYPOINT ["python", "run_all.py"]
 # 执行 Python 脚本
-CMD []
+# CMD []