Update Dockerfile-web-ui-dev

This commit is contained in:
liaquatali000
2024-05-10 22:32:01 +05:00
committed by GitHub
parent 40aa6cf7b2
commit 7b5efaac36

View File

@@ -21,9 +21,14 @@ COPY ./src/Managing.WebApp/package*.json ./
# Install dependencies # Install dependencies
#RUN npm ci --production --loglevel=verbose #RUN npm ci --production --loglevel=verbose
#RUN npm i --omit=dev --loglevel=verbose #RUN npm i --omit=dev --loglevel=verbose
RUN rm -f /usr/local/bin/yarn
# Remove Yarn and Yarnpkg binaries if they exist
RUN rm -f /usr/local/bin/yarn /usr/local/bin/yarnpkg
# Install Yarn globally
RUN npm install -g yarn RUN npm install -g yarn
#RUN npm i --max-old-space-size=12000 --loglevel=verbose #RUN npm i --max-old-space-size=12000 --loglevel=verbose
RUN yarn install --ignore-engines --verbose RUN yarn install --ignore-engines --verbose
RUN yarn cache clean RUN yarn cache clean