From ad78d0d2258439ff8372f3e37798885898e72bca Mon Sep 17 00:00:00 2001 From: apple Date: Mon, 11 Sep 2023 10:02:17 +0200 Subject: [PATCH] Remove registry usage --- frontend/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 7dc905d..ef346b7 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -3,7 +3,7 @@ FROM node:18 AS build WORKDIR /usr COPY package.json ./ COPY yarn.lock ./ -RUN yarn install --frozen-lockfile --registry http://172.17.0.2:4873 +RUN yarn install --frozen-lockfile COPY . ./ RUN yarn build @@ -12,7 +12,8 @@ FROM node:18-alpine3.16 WORKDIR /app COPY package.json ./ COPY yarn.lock ./ -RUN yarn install --registry http://172.17.0.2:4873 --frozen-lockfile COPY --from=build /usr/build /app +RUN yarn install --frozen-lockfile +COPY --from=build /usr/build /app EXPOSE 8000 CMD ["node", "/app"]