This commit is contained in:
Liam 2022-10-29 15:11:59 +01:00
parent 97ed02d5f6
commit 15bacdf380

@ -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