fix: Dockerfile引用了不存在的文件
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
2025-12-17 09:14:06 +08:00
parent db786d0100
commit 2647e800db

View File

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