From 8687164552628146ea7d696b1aa02508305f4bda Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sat, 25 Apr 2026 22:21:24 +0200 Subject: [PATCH] fix: update dockerfile to run binary directly --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7f2126..7b0a1ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,15 +47,11 @@ 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 and cache clearing -ENTRYPOINT ["./entrypoint.sh"] +ENTRYPOINT ["./main_server"]