From d887ee2c7b4530e5863a85b534190d4370f126ce Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 5 Nov 2025 01:47:50 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a9dd2b..e81d292 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,11 @@ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # 复制应用代码 -COPY src/ ./src/ -COPY run.py . +# COPY src/ ./src/ +COPY . . # 暴露端口 EXPOSE 8000 # 启动命令 -CMD ["python", "run.py"] \ No newline at end of file +CMD ["python", "app.py"] \ No newline at end of file