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"]