fix: add curl for healthcheck, PYTHONUNBUFFERED for logging

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 14:28:01 +00:00
parent 7595763711
commit 3cee3abfeb
+2 -1
View File
@@ -6,7 +6,7 @@ COPY dashboard/ .
RUN npm run build
FROM python:3.12-alpine
RUN apk add --no-cache postgresql-client
RUN apk add --no-cache postgresql-client curl
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
@@ -14,5 +14,6 @@ COPY app_server.py .
COPY --from=dashboard-build /dashboard/dist /app/dashboard/dist
ENV PORT=8080
ENV DIST_DIR=/app/dashboard/dist
ENV PYTHONUNBUFFERED=1
EXPOSE 8080
CMD ["python", "app_server.py"]