Update Dockerfile-web-ui-dev

This commit is contained in:
liaquatali000
2024-05-10 20:47:43 +05:00
committed by GitHub
parent 76a32c65db
commit e75859a4fc

View File

@@ -7,7 +7,8 @@ WORKDIR /app
# Install xsel if needed (uncomment if required in your environment) # Install xsel if needed (uncomment if required in your environment)
# RUN apt-get update && apt-get install -y xsel # RUN apt-get update && apt-get install -y xsel
# Copy the package.json and package-lock.json first to leverage Docker's cache
COPY ./src/Managing.WebApp/package*.json ./
# Optionally, add a specific package ignoring engine check # Optionally, add a specific package ignoring engine check
RUN yarn add whatwg-fetch@3.6.2 --ignore-engines RUN yarn add whatwg-fetch@3.6.2 --ignore-engines