chore: add public directory to Dockerfile and include .gitkeep for tracking
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m48s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m48s
This commit is contained in:
@@ -33,9 +33,10 @@ COPY --from=builder /app/package.json /app/pnpm-lock.yaml ./
|
|||||||
RUN pnpm install --frozen-lockfile --prod
|
RUN pnpm install --frozen-lockfile --prod
|
||||||
|
|
||||||
# Copie des fichiers nécessaires depuis le stage de build
|
# 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 ./.next
|
||||||
COPY --from=builder /app/next.config.mjs ./
|
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
|
# Exposition du port
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
0
public/.gitkeep
Normal file
0
public/.gitkeep
Normal file
Reference in New Issue
Block a user