diff --git a/Dockerfile b/Dockerfile index 2704103..885d334 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,6 +50,8 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static COPY --from=builder --chown=nextjs:nodejs /app/public ./.next/static +RUN npm i + RUN chown -R nextjs:nodejs /app USER nextjs