From 73cdf06351cb91b759fbb52b91f2d0e987c77264 Mon Sep 17 00:00:00 2001 From: John Smith Date: Thu, 28 Nov 2024 21:22:37 +1030 Subject: [PATCH] fix: Copy Next static assets (#148) --- app/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Dockerfile b/app/Dockerfile index a807532b..a1182432 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -48,6 +48,11 @@ ARG SHORT_VERSION ENV SHORT_VERSION=$SHORT_VERSION COPY --from=build /build/ /app +COPY --from=build /build/package.json /app/package.json +COPY --from=build /build/node_modules /app/node_modules + +COPY --from=build-playground /build/.next/standalone/playground /app +COPY --from=build-playground /build/.next/static /app/.next/static ENV NODE_ENV=production