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:
+2
-1
@@ -6,7 +6,7 @@ COPY dashboard/ .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM python:3.12-alpine
|
FROM python:3.12-alpine
|
||||||
RUN apk add --no-cache postgresql-client
|
RUN apk add --no-cache postgresql-client curl
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r 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
|
COPY --from=dashboard-build /dashboard/dist /app/dashboard/dist
|
||||||
ENV PORT=8080
|
ENV PORT=8080
|
||||||
ENV DIST_DIR=/app/dashboard/dist
|
ENV DIST_DIR=/app/dashboard/dist
|
||||||
|
ENV PYTHONUNBUFFERED=1
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["python", "app_server.py"]
|
CMD ["python", "app_server.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user