diff --git a/Dockerfile b/Dockerfile index 21a058c58..1dde5fe8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,9 +23,10 @@ RUN apk add --no-cache \ zlib-dev COPY package.json ./ -RUN yarn install +RUN yarn install --prod=false COPY . ./ RUN yarn build +RUN yarn install --prod FROM base AS runner