trying to fix yarn install. forcing npm registry.
This commit is contained in:
parent
7eb86d988b
commit
7554f3bf9d
|
@ -32,7 +32,7 @@ jobs:
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
with:
|
with:
|
||||||
platforms: 'arm64,arm'
|
platforms: 'amd64,arm64,arm'
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
# Login against a Docker registry except on PR
|
# Login against a Docker registry except on PR
|
||||||
|
|
|
@ -6,8 +6,7 @@ ARG FASTEN_ENV=sandbox
|
||||||
WORKDIR /usr/src/fastenhealth/frontend
|
WORKDIR /usr/src/fastenhealth/frontend
|
||||||
COPY frontend/package.json frontend/yarn.lock ./
|
COPY frontend/package.json frontend/yarn.lock ./
|
||||||
|
|
||||||
RUN yarn config set registry "http://registry.npmjs.org" \
|
RUN yarn config list && yarn install --frozen-lockfile
|
||||||
&& yarn install --frozen-lockfile
|
|
||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist
|
RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
npmRegistryServer: "http://registry.npmjs.org"
|
2322
frontend/yarn.lock
2322
frontend/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue