7
Some checks failed
Deploy Frontend / deploy (push) Has been cancelled

This commit is contained in:
Lee 2024-10-04 17:38:52 +01:00
parent 0f9c1c85aa
commit 498e0cd9d6

View File

@ -33,8 +33,9 @@ USER nextjs
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=installer --chown=nextjs:nodejs /app/apps/frontend/node_modules ./apps/frontend/node_modules
COPY --from=installer --chown=nextjs:nodejs /app/apps/frontend/.next/standalone ./
COPY --from=installer --chown=nextjs:nodejs /app/apps/frontend/.next/static ./apps/frontend/.next/static
COPY --from=installer --chown=nextjs:nodejs /app/apps/frontend/public ./apps/frontend/public
CMD node apps/frontend/server.js
CMD node /app/apps/frontend/.next/standalone/server.js