fix: validate cache data and suppress static file logging

This commit is contained in:
2026-04-22 20:39:47 +02:00
parent bfb50aa76e
commit c860a1a70a
4 changed files with 45 additions and 5 deletions

View File

@@ -41,12 +41,15 @@ RUN apt-get update && apt-get install -y ca-certificates sqlite3 && rm -rf /var/
RUN mkdir -p /app/data
COPY --from=builder /app/main_server .
COPY --from=builder /app/entrypoint.sh .
COPY --from=builder /app/static ./static
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/migrations ./migrations
RUN chmod +x ./entrypoint.sh
# Expose the application port
EXPOSE 3000
# Run entrypoint which handles migrations
CMD ["./main_server"]
# Run entrypoint which handles migrations and cache clearing
ENTRYPOINT ["./entrypoint.sh"]