This commit is contained in:
parent
6c403910f6
commit
15bd322d23
1 changed files with 2 additions and 1 deletions
|
@ -12,8 +12,9 @@ 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
|
RUN yarn install --frozen-lockfile
|
||||||
COPY --from=build /usr/build /app
|
COPY --from=build /usr/build /app
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD ["node", "/app"]
|
CMD ["node", "/app"]
|
||||||
|
|
Loading…
Reference in a new issue