Skip to content

Commit

Permalink
fix: copy public folder during build of client docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Oct 2, 2023
1 parent fb96905 commit 8bd9fbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ RUN adduser --system --uid 1001 nextjs
COPY --from=build --chown=nextjs:nodejs /app/client/.next ./.next
COPY --from=build --chown=nextjs:nodejs /app/client/entrypoint.sh ./entrypoint.sh
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/client/public ./public
COPY --from=build /app/client/package.json ./package.json

USER nextjs
Expand Down

0 comments on commit 8bd9fbb

Please sign in to comment.