feat: Mise à jour des Dockerfile préparation d'un environnement de démo [#12]

This commit is contained in:
Luc SORIGNET
2025-02-15 15:16:10 +01:00
parent aef6c193b1
commit 32a77c780a
5 changed files with 184 additions and 1 deletions

View File

@ -26,9 +26,9 @@ CMD ["npm", "run", "dev"]
FROM node:18-alpine AS production
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/messages ./messages
EXPOSE 3000
CMD ["node", "server.js"]

View File

@ -5,6 +5,7 @@ const withNextIntl = createNextIntlPlugin();
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
experimental: {
instrumentationHook: true,
},