move options sequence
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Alessio Davoli 2023-08-23 15:36:32 +02:00
parent 85c482dfaa
commit e2af677ab6

View file

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