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>
This commit is contained in:
2026-04-06 14:21:26 +00:00
parent fed6ca30f6
commit c70c4e71e6
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ RUN apk add --no-cache postgresql-client
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
COPY server.py . 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
EXPOSE 8080 EXPOSE 8080
CMD ["python", "server.py"] CMD ["python", "app_server.py"]
View File