From 2647e800dbcf89d8d65c6a97de701f724f2ac633 Mon Sep 17 00:00:00 2001 From: seahi Date: Wed, 17 Dec 2025 09:14:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Dockerfile=E5=BC=95=E7=94=A8=E4=BA=86?= =?UTF-8?q?=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=E6=96=87=E4=BB=B6?= 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 5d64f58..af9c5d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,8 @@ ENV TZ=Asia/Shanghai \ WORKDIR /app -COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +# COPY requirements.txt . +# RUN pip install --no-cache-dir -r requirements.txt COPY app.py . @@ -25,6 +25,6 @@ EXPOSE 80 # 添加健康检查(v2.0+ 特性) HEALTHCHECK --interval=10s --timeout=3s --start-period=5s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost/health || exit 1 + CMD wget --no-verbose --tries=1 --spider http://localhost/health || exit 1 CMD ["python", "app.py"]