Skip to content

Commit

Permalink
fix: Copy Next static assets (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith authored Nov 28, 2024
1 parent ea31672 commit 73cdf06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 73cdf06

Please sign in to comment.