Skip to content

Commit

Permalink
Fix build paths
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj committed Jul 29, 2023
1 parent 4b8ef84 commit a58c81d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ RUN addgroup -g 1001 app \
USER app
WORKDIR /home/app

COPY --from=build --chown=app:app /home/app/public public
COPY --from=build --chown=app:app /home/app/web/public public
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=build --chown=app:app /home/app/.next/standalone ./
COPY --from=build --chown=app:app /home/app/.next/static ./.next/static
COPY --from=build --chown=app:app /home/app/web/.next/standalone ./
COPY --from=build --chown=app:app /home/app/web/.next/static ./.next/static

ENV NODE_ENV=production \
NEXT_TELEMETRY_DISABLED=1
Expand Down

0 comments on commit a58c81d

Please sign in to comment.