This commit is contained in:
Liam 2022-10-29 15:17:32 +01:00
parent 15bacdf380
commit 5978458f60

@ -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/.next/static ./.next/static
COPY --from=builder --chown=nextjs:nodejs /app/public ./.next/static COPY --from=builder --chown=nextjs:nodejs /app/public ./.next/static
RUN npm i
RUN chown -R nextjs:nodejs /app RUN chown -R nextjs:nodejs /app
USER nextjs USER nextjs