Skip to content

Commit

Permalink
trying to fix yarn install. forcing npm registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jan 26, 2023
1 parent 7eb86d9 commit 7554f3b
Show file tree
Hide file tree
Showing 4 changed files with 1,170 additions and 1,158 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 "https://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

Expand Down
1 change: 1 addition & 0 deletions frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npmRegistryServer: "https://registry.npmjs.org"
Loading

0 comments on commit 7554f3b

Please sign in to comment.