why
This commit is contained in:
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
|
Reference in New Issue
Block a user