Skip to content

Commit

Permalink
Copy required files before install
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj committed Jul 29, 2023
1 parent ad71d3a commit 82344f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ RUN addgroup -g 1001 app \
&& adduser -u 1001 -G app -s /bin/sh -D app
USER app
WORKDIR /home/app
COPY --chown=app:app pnpm-lock.yaml ./
COPY --chown=app:app package.json pnpm-lock.yaml pnpm-workspace.yaml .
RUN pnpm --frozen-lockfile install \
&& pnpm install sharp
COPY --chown=app:app package.json pnpm-workspace.yaml .
COPY --chown=app:app web .
ENV NODE_ENV=production \
NEXT_TELEMETRY_DISABLED=1
Expand Down

0 comments on commit 82344f5

Please sign in to comment.