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