Improve deployment reliability by streamlining the application startup process

Updates the Dockerfile and entrypoint to remove Node.js 18 compatibility workaround and fixes cache corruption issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e80fed01-7137-4997-b9af-dad57132d430
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/db75d429-4075-4348-b179-bb283fb6d9d3.jpg
This commit is contained in:
michaelschal committed 2025-07-13 13:26:16 +00:00
1 parent 0994a3282a
commit 5048b3b466
4 files changed
+10 -13

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ RUN mkdir -p /app/backups /app/logs /app/data && \
COPY --from=builder --chown=regisflow:nodejs /build/package*.json ./
COPY --from=builder --chown=regisflow:nodejs /build/dist ./dist
COPY --from=builder --chown=regisflow:nodejs /build/shared ./shared
COPY --from=builder --chown=regisflow:nodejs /build/server/prod-start.js ./server/
COPY --from=builder --chown=regisflow:nodejs /build/drizzle.config.ts ./
COPY --from=builder --chown=regisflow:nodejs /build/node_modules ./node_modules
COPY --from=builder --chown=regisflow:nodejs /build/init.sql ./