diff --git a/src/Managing.WebApp/Dockerfile b/src/Managing.WebApp/Dockerfile index 4766595..b53470e 100644 --- a/src/Managing.WebApp/Dockerfile +++ b/src/Managing.WebApp/Dockerfile @@ -21,7 +21,8 @@ COPY /src/Managing.WebApp/package.json ./ RUN npm install --legacy-peer-deps # Copy the rest of the app's source code to the container -COPY . . +# COPY . . +COPY src/Managing.WebApp/ /app/ # Build the app RUN npm run build diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index 4766595..b53470e 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -21,7 +21,8 @@ COPY /src/Managing.WebApp/package.json ./ RUN npm install --legacy-peer-deps # Copy the rest of the app's source code to the container -COPY . . +# COPY . . +COPY src/Managing.WebApp/ /app/ # Build the app RUN npm run build