Skip to content

Commit

Permalink
Set ENV YARN_CACHE_FOLDER in runner
Browse files Browse the repository at this point in the history
  • Loading branch information
bdb-dd committed May 29, 2024
1 parent 4c8feb4 commit adb55a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ COPY . .
# production image - START
FROM node:slim as runner

ENV YARN_CACHE_FOLDER .yarn/cache
ENV NODE_ENV production

# switch back to non-root user
Expand Down

0 comments on commit adb55a8

Please sign in to comment.