fucking work

This commit is contained in:
Liam 2022-10-26 14:19:42 +01:00
parent afd71646d8
commit 5dac11a1f8

@ -56,6 +56,7 @@ COPY --from=builder /app/public ./public
# 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/static ./.next/static
COPY --from=builder --chown=nextjs:nodejs /app/entrypoint.sh ./entrypoint.sh
USER nextjs
@ -63,6 +64,5 @@ EXPOSE 3000
ENV PORT 3000
COPY entrypoint.sh ./
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["node", "server.js"]