Skip to content

Commit

Permalink
update: build images in debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
parameshg committed Sep 14, 2018
1 parent 6e47331 commit bca7d85
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Northwind.Services.Address.v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY Northwind.Services.Address.v2/Northwind.Services.Address.v2.csproj Northwin
RUN dotnet restore -nowarn:msb3202,nu1503
COPY . .
WORKDIR /src/Northwind.Services.Address.v2
RUN dotnet build -c Release -o /app
RUN dotnet build -c Debug -o /app

FROM build AS publish
RUN dotnet publish -c Release -o /app
RUN dotnet publish -c Debug -o /app

FROM base AS final
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Northwind.Services.Address.v3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY Northwind.Services.Address.v3/Northwind.Services.Address.v3.csproj Northwin
RUN dotnet restore -nowarn:msb3202,nu1503
COPY . .
WORKDIR /src/Northwind.Services.Address.v3
RUN dotnet build -c Release -o /app
RUN dotnet build -c Debug -o /app

FROM build AS publish
RUN dotnet publish -c Release -o /app
RUN dotnet publish -c Debug -o /app

FROM base AS final
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Northwind.Services.Address/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY Northwind.Services.Address/Northwind.Services.Address.csproj Northwind.Serv
RUN dotnet restore -nowarn:msb3202,nu1503
COPY . .
WORKDIR /src/Northwind.Services.Address
RUN dotnet build -c Release -o /app
RUN dotnet build -c Debug -o /app

FROM build AS publish
RUN dotnet publish -c Release -o /app
RUN dotnet publish -c Debug -o /app

FROM base AS final
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Northwind.Services.Order/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY Northwind.Services.Order/Northwind.Services.Order.csproj Northwind.Services
RUN dotnet restore -nowarn:msb3202,nu1503
COPY . .
WORKDIR /src/Northwind.Services.Order
RUN dotnet build -c Release -o /app
RUN dotnet build -c Debug -o /app

FROM build AS publish
RUN dotnet publish -c Release -o /app
RUN dotnet publish -c Debug -o /app

FROM base AS final
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Northwind.Services.Payment.v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY Northwind.Services.Payment.v2/Northwind.Services.Payment.v2.csproj Northwin
RUN dotnet restore -nowarn:msb3202,nu1503
COPY . .
WORKDIR /src/Northwind.Services.Payment.v2
RUN dotnet build -c Release -o /app
RUN dotnet build -c Debug -o /app

FROM build AS publish
RUN dotnet publish -c Release -o /app
RUN dotnet publish -c Debug -o /app

FROM base AS final
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Northwind.Services.Payment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY Northwind.Services.Payment/Northwind.Services.Payment.csproj Northwind.Serv
RUN dotnet restore -nowarn:msb3202,nu1503
COPY . .
WORKDIR /src/Northwind.Services.Payment
RUN dotnet build -c Release -o /app
RUN dotnet build -c Debug -o /app

FROM build AS publish
RUN dotnet publish -c Release -o /app
RUN dotnet publish -c Debug -o /app

FROM base AS final
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Northwind.Services.Product/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY Northwind.Services.Product/Northwind.Services.Product.csproj Northwind.Serv
RUN dotnet restore -nowarn:msb3202,nu1503
COPY . .
WORKDIR /src/Northwind.Services.Product
RUN dotnet build -c Release -o /app
RUN dotnet build -c Debug -o /app

FROM build AS publish
RUN dotnet publish -c Release -o /app
RUN dotnet publish -c Debug -o /app

FROM base AS final
WORKDIR /app
Expand Down

0 comments on commit bca7d85

Please sign in to comment.