This commit is contained in:
Liam 2022-10-26 14:47:03 +01:00
parent 7dbdb25f5f
commit 97da1d8ff3

@ -60,7 +60,7 @@ 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 chown -R nextjs:nodejs /app/.next RUN chown -R nextjs:nodejs /
USER nextjs USER nextjs