This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
extension-platform/Dockerfile
T
chaim c70c4e71e6 fix: rename server.py to app_server.py to bypass stale Coolify file mount
A Coolify persistent storage entry was overriding /app/server.py with an
unresolved ${FILE:} placeholder, causing SyntaxError on startup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 14:21:32 +00:00

19 lines
467 B
Docker

FROM node:20-alpine AS dashboard-build
WORKDIR /dashboard
COPY dashboard/package*.json ./
RUN npm ci
COPY dashboard/ .
RUN npm run build
FROM python:3.12-alpine
RUN apk add --no-cache postgresql-client
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app_server.py .
COPY --from=dashboard-build /dashboard/dist /app/dashboard/dist
ENV PORT=8080
ENV DIST_DIR=/app/dashboard/dist
EXPOSE 8080
CMD ["python", "app_server.py"]