diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index efc6712..6a7574f 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -7,7 +7,8 @@ WORKDIR /app # Install xsel if needed (uncomment if required in your environment) # 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 RUN yarn add whatwg-fetch@3.6.2 --ignore-engines