Update Dockerfile-web-ui-dev

This commit is contained in:
liaquatali000
2024-05-10 21:10:26 +05:00
committed by GitHub
parent e75859a4fc
commit 1826598c2b

View File

@@ -1,6 +1,6 @@
# Set base image for the builder stage
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
WORKDIR /app
@@ -13,7 +13,7 @@ COPY ./src/Managing.WebApp/package*.json ./
RUN yarn add whatwg-fetch@3.6.2 --ignore-engines
# 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
RUN yarn cache clean