This commit is contained in:
Timo Bejan 2021-11-10 13:44:41 +02:00
parent 18769d49fb
commit 7de8bd460d

View File

@ -14,7 +14,7 @@ COPY --from=prep /tmp/deps.json ./package.json
COPY yarn.lock ./
## Storing node modules on a separate layer will prevent unnecessary npm installs at each build
RUN yarn install --verbose && mkdir /ng-app && mv ./node_modules ./ng-app
RUN yarn install && mkdir /ng-app && mv ./node_modules ./ng-app
WORKDIR /ng-app