dont force using lockfile version, maybe incompatibilities due to arch?
This commit is contained in:
parent
74650c410d
commit
94c7996720
|
@ -1,7 +1,7 @@
|
||||||
#########################################################################################################
|
#########################################################################################################
|
||||||
# Frontend Build
|
# Frontend Build
|
||||||
#########################################################################################################
|
#########################################################################################################
|
||||||
FROM node:18.9.0 as frontend-build
|
FROM node:18 as frontend-build
|
||||||
ARG FASTEN_ENV=sandbox
|
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 ./
|
||||||
|
@ -11,7 +11,7 @@ RUN yarn --version && \
|
||||||
yarn config delete https-proxy && \
|
yarn config delete https-proxy && \
|
||||||
yarn config set registry 'http://registry.npmjs.org' && \
|
yarn config set registry 'http://registry.npmjs.org' && \
|
||||||
yarn config list && \
|
yarn config list && \
|
||||||
yarn install --frozen-lockfile --network-timeout 300000
|
yarn install --network-timeout 300000
|
||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist
|
RUN yarn run build -- --configuration ${FASTEN_ENV} --output-path=../dist
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue