Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Dockerfile path. #6

Merged
merged 15 commits into from
Oct 4, 2022
Prev Previous commit
Next Next commit
force use npmjs registry
  • Loading branch information
AnalogJ committed Sep 27, 2022
commit 7acbb8148cb5ef83f34bc46360a941142a86647f
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ FROM node:18.9.0 as frontend-build
WORKDIR /usr/src/fastenhealth/frontend
#COPY frontend/package.json frontend/yarn.lock ./
COPY frontend/package.json ./
COPY frontend/yarn.lock ./
RUN yarn install --frozen-lockfile --network-timeout 100000
#COPY frontend/yarn.lock ./
RUN yarn config set registry "http:https://registry.npmjs.org" \
yarn install --frozen-lockfile --network-timeout 100000
COPY frontend/ ./
RUN yarn run build -- --configuration sandbox --output-path=../dist

Expand Down