Skip to content

Commit

Permalink
Omit Yarn cache from Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKvalheim committed Aug 31, 2024
1 parent 5e1f5f1 commit 0295208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /usr/src/app

# Dependencies
COPY package.json yarn.lock ./
RUN yarn install --immutable
RUN yarn install --immutable && yarn cache clean

# Build
COPY tsconfig.json ./
Expand Down

0 comments on commit 0295208

Please sign in to comment.