chore: add public directory to Dockerfile and include .gitkeep for tracking
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m48s

This commit is contained in:
Julien Froidefond
2025-12-11 12:33:03 +01:00
parent ad7d03ebef
commit ee83efc317
2 changed files with 2 additions and 1 deletions

View File

@@ -33,9 +33,10 @@ COPY --from=builder /app/package.json /app/pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile --prod
# Copie des fichiers nécessaires depuis le stage de build
COPY --from=builder /app/public ./public
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/next.config.mjs ./
# Copie du dossier public (créé avec .gitkeep pour être tracké)
COPY --from=builder /app/public ./public
# Exposition du port
EXPOSE 3000

0
public/.gitkeep Normal file
View File