Skip to content

Commit d808ca4

Browse files
committed
feat(docker): yarn cache
1 parent ac56821 commit d808ca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR /usr/src/app
77
COPY package.json yarn.lock ./
88

99
# Install dependencies
10-
RUN yarn install
10+
RUN yarn install --frozen-lockfile --cache-folder /tmp/.yarn-cache && rm -rf /tmp/.yarn-cache
1111

1212
# Copy the application code
1313
COPY . .

0 commit comments

Comments
 (0)