diff --git a/Dockerfile b/Dockerfile index 724703626..bccd039a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,10 @@ FROM node:18.9.0 as frontend-build ARG FASTEN_ENV=sandbox WORKDIR /usr/src/fastenhealth/frontend -#COPY frontend/package.json frontend/yarn.lock ./ -COPY frontend/package.json ./ -#COPY frontend/yarn.lock ./ +COPY frontend/package.json frontend/yarn.lock ./ + RUN yarn config set registry "http://registry.npmjs.org" \ - && yarn install --frozen-lockfile --network-timeout 100000 + && yarn install --frozen-lockfile COPY frontend/ ./ RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist