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:
+2
-2
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user