mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-11 17:29:48 +02:00
Ensure website content displays correctly when running in production mode
Fixes a static asset serving issue by updating the Dockerfile to copy public assets. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/1a628c74-3aad-4182-a42f-aeae036e6dcf.jpg
This commit is contained in:
1 parent
4c89a7e2e5
commit
1ee5972c47
3 files changed
+102
No files matched your search
@@ -48,6 +48,9 @@ COPY --from=builder --chown=regisflow:nodejs /build/server/prod-start.js ./serve
|
||||
COPY --from=builder --chown=regisflow:nodejs /build/drizzle.config.ts ./
|
||||
COPY --from=builder --chown=regisflow:nodejs /build/node_modules ./node_modules
|
||||
|
||||
# Copier les assets client au bon endroit pour serveStatic
|
||||
COPY --from=builder --chown=regisflow:nodejs /build/dist/public ./public
|
||||
|
||||
# Les dépendances sont déjà copiées depuis le builder
|
||||
# Nettoyer le cache npm uniquement
|
||||
RUN npm cache clean --force && \
|
||||
|
||||
Reference in new issue
Block a user