diff options
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -8,11 +8,7 @@ ARG APP_ENV=production ENV APP_ENV ${APP_ENV} COPY package.json yarn.lock ./ -RUN yarn install --frozen-lockfile - -# If using npm with a `package-lock.json` comment out above and use below instead -# COPY package.json package-lock.json ./ -# RUN npm ci +RUN yarn install --frozen-lockfile && yarn cache clean # Rebuild the source code only when needed FROM node:16-alpine AS builder |
