From 15bacdf3802f297c72728735865efed9cf29d872 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Sat, 29 Oct 2022 15:11:59 +0100 Subject: [PATCH] why --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49d1c20..2704103 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,6 @@ 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 chown -R nextjs:nodejs /app USER nextjs @@ -59,6 +58,6 @@ EXPOSE 3000 ENV PORT 3000 -ENTRYPOINT yarn react-env --env APP_ENV +ENTRYPOINT npx react-env --env APP_ENV CMD yarn start \ No newline at end of file