trying to fix yarn install. forcing npm registry.

This commit is contained in:
Jason Kulatunga 2023-01-25 21:50:22 -08:00
parent 7eb86d988b
commit 7554f3bf9d
4 changed files with 1170 additions and 1158 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,arm'
platforms: 'amd64,arm64,arm'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# Login against a Docker registry except on PR

View File

@ -6,8 +6,7 @@ ARG FASTEN_ENV=sandbox
WORKDIR /usr/src/fastenhealth/frontend
COPY frontend/package.json frontend/yarn.lock ./
RUN yarn config set registry "http://registry.npmjs.org" \
&& yarn install --frozen-lockfile
RUN yarn config list && yarn install --frozen-lockfile
COPY frontend/ ./
RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist

1
frontend/.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
npmRegistryServer: "http://registry.npmjs.org"

File diff suppressed because it is too large Load Diff