From 498e0cd9d6b1883e19b1df9a2bd29cff039b3e25 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 4 Oct 2024 17:38:52 +0100 Subject: [PATCH] 7 --- apps/frontend/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/frontend/Dockerfile b/apps/frontend/Dockerfile index 478f963..f3744c5 100644 --- a/apps/frontend/Dockerfile +++ b/apps/frontend/Dockerfile @@ -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 \ No newline at end of file +CMD node /app/apps/frontend/.next/standalone/server.js \ No newline at end of file