fucking work
This commit is contained in:
parent
afd71646d8
commit
5dac11a1f8
@ -56,6 +56,7 @@ COPY --from=builder /app/public ./public
|
|||||||
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
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/entrypoint.sh ./entrypoint.sh
|
||||||
|
|
||||||
USER nextjs
|
USER nextjs
|
||||||
|
|
||||||
@ -63,6 +64,5 @@ EXPOSE 3000
|
|||||||
|
|
||||||
ENV PORT 3000
|
ENV PORT 3000
|
||||||
|
|
||||||
COPY entrypoint.sh ./
|
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
|
||||||
CMD ["node", "server.js"]
|
CMD ["node", "server.js"]
|
Reference in New Issue
Block a user