diff --git a/src/Managing.WebApp/Dockerfile b/src/Managing.WebApp/Dockerfile index 4573eff..4766595 100644 --- a/src/Managing.WebApp/Dockerfile +++ b/src/Managing.WebApp/Dockerfile @@ -14,7 +14,8 @@ RUN apk update && apk add --no-cache git python3 make g++ RUN ln -sf /usr/bin/python3 /usr/bin/python # Copy package.json and package-lock.json to the container -COPY package*.json ./ +# COPY package*.json ./ +COPY /src/Managing.WebApp/package.json ./ # Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts RUN npm install --legacy-peer-deps diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index 4573eff..4766595 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -14,7 +14,8 @@ RUN apk update && apk add --no-cache git python3 make g++ RUN ln -sf /usr/bin/python3 /usr/bin/python # Copy package.json and package-lock.json to the container -COPY package*.json ./ +# COPY package*.json ./ +COPY /src/Managing.WebApp/package.json ./ # Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts RUN npm install --legacy-peer-deps