Update Dockerfile-web-ui-dev

This commit is contained in:
liaquatali000
2024-05-10 20:44:42 +05:00
committed by GitHub
parent ab03ba7458
commit b3f203e6fa

View File

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