Skip to content

Commit

Permalink
chore: Update Dockerfile to use yarn cache for faster installation
Browse files Browse the repository at this point in the history
  • Loading branch information
suk-6 committed Jul 13, 2024
1 parent 72fc326 commit 91f295c
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 @@ -6,7 +6,7 @@ LABEL maintainer="https://suk.kr"
WORKDIR /app
COPY . /app

RUN yarn install --frozen-lockfile --prod
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn yarn install --frozen-lockfile --prod
RUN yarn run build

# Production stage
Expand Down

0 comments on commit 91f295c

Please sign in to comment.