feat: add email field to users table, switch default entrypoint to prod.py, and remove redis/nginx from docker-compose

This commit is contained in:
2025-10-03 13:50:49 +00:00
parent 314eb930f7
commit e383eae3a7
5 changed files with 13 additions and 74 deletions
+3 -2
View File
@@ -51,6 +51,7 @@ WORKDIR /app
COPY --from=builder /install /usr/local
# Copy application files
COPY prod.py .
COPY main3.py .
COPY gunicorn_config.py .
COPY .env.example .env
@@ -73,6 +74,6 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
ENV PYTHONUNBUFFERED=1
ENV HOST=0.0.0.0
ENV PORT=8080
ENV DB_PATH=/app/webdav.db
# Run application
CMD ["python", "main3.py"]
CMD ["python", "prod.py"]