Update Dockerfile-web-ui-dev
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Set base image for the builder stage
|
# Set base image for the builder stage
|
||||||
ARG NODE_VERSION=18.17.0
|
ARG NODE_VERSION=18.17.0
|
||||||
FROM --platform=linux/arm64/v8 node:${NODE_VERSION} AS builder
|
ARG ALPINE_VERSION=3.19.0
|
||||||
|
|
||||||
# Set the working directory in the container
|
# Set the working directory in the container
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -13,7 +13,7 @@ COPY ./src/Managing.WebApp/package*.json ./
|
|||||||
RUN yarn add whatwg-fetch@3.6.2 --ignore-engines
|
RUN yarn add whatwg-fetch@3.6.2 --ignore-engines
|
||||||
|
|
||||||
# Install all project dependencies with Yarn
|
# Install all project dependencies with Yarn
|
||||||
RUN yarn install --network-timeout 1000000 --verbose
|
RUN yarn install
|
||||||
|
|
||||||
# Clear Yarn cache to ensure no corrupted data interferes with installation
|
# Clear Yarn cache to ensure no corrupted data interferes with installation
|
||||||
RUN yarn cache clean
|
RUN yarn cache clean
|
||||||
|
|||||||
Reference in New Issue
Block a user