Use install directly
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-08-23 14:54:59 +02:00
parent 15bd322d23
commit 6e9b2dcaa4

View file

@ -12,8 +12,7 @@ FROM node:18-alpine3.16
WORKDIR /app WORKDIR /app
COPY package.json ./ COPY package.json ./
COPY yarn.lock ./ COPY yarn.lock ./
RUN yarn config set registry http://172.17.0.2:4873 RUN yarn install --frozen-lockfile --registry http://172.17.0.2:4873
RUN yarn install --frozen-lockfile
COPY --from=build /usr/build /app COPY --from=build /usr/build /app
EXPOSE 8000 EXPOSE 8000