File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77docker-compose * .yml
88docker-compose.dcproj
99* .sln
10- ! eShopOnContainers-ServicesAndWebApps-MultiStageBuild .sln
10+ ! eShopOnContainers-ServicesAndWebApps.sln
1111* .md
1212hosts
1313LICENSE
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Services/Basket/Basket.API
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Services/Basket/Basket.API
1213RUN dotnet publish --no-restore -c Release -o /app
1314
1415FROM base AS final
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Services/Catalog/Catalog.API
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Services/Catalog/Catalog.API
1213RUN dotnet publish --no-restore -c Release -o /app
1314
1415FROM base AS final
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Services/Identity/Identity.API
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Services/Identity/Identity.API
1213RUN dotnet publish --no-restore -c Release -o /app
1314
1415FROM base AS final
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Services/Location/Locations.API
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Services/Location/Locations.API
1213RUN dotnet publish --no-restore -c Release -o /app
1314
1415FROM base AS final
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Services/Marketing/Marketing.API
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Services/Marketing/Marketing.API
1213RUN dotnet publish --no-restore -c Release -o /app
1314
1415FROM base AS final
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Services/Ordering/Ordering.API
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Services/Ordering/Ordering.API
1213RUN dotnet publish --no-restore -c Release -o /app
1314
1415FROM base AS final
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Services/Payment/Payment.API
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Services/Payment/Payment.API
1213RUN dotnet publish --no-restore -c Release -o /app
1314
1415FROM base AS final
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ EXPOSE 80
55FROM microsoft/aspnetcore-build:2.0 AS build
66WORKDIR /src
77COPY . .
8- RUN dotnet build -c Release -nowarn:msb3202,nu1503
8+ RUN dotnet restore -nowarn:msb3202,nu1503
9+ WORKDIR /src/src/Web/WebMVC
10+ RUN dotnet build --no-restore -c Release -o /app
911
1012FROM build AS publish
11- WORKDIR /src/src/Web/WebMVC
1213RUN bower install --allow-root
1314RUN dotnet bundle
1415RUN dotnet publish --no-restore -c Release -o /app
You can’t perform that action at this time.
0 commit comments