correction nextjs user
All checks were successful
Build and Push App / build (push) Successful in 5m39s

This commit is contained in:
2026-04-19 12:56:51 +02:00
parent 270c4055dc
commit f97399e4fd
2 changed files with 12 additions and 0 deletions

View File

@@ -11,5 +11,11 @@ RUN npm run build
EXPOSE 3000
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
RUN chown -R nextjs:nodejs /app
USER nextjs
# On lance directement via npm
CMD ["npm", "start"]