Skip to content

Commit

Permalink
cleanups and fix docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
shaykeren committed Feb 12, 2023
1 parent f09a6ec commit 76fce93
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 68 deletions.
7 changes: 1 addition & 6 deletions Sample.MoneyTransfer.Api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ WORKDIR /app
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src

COPY "Sample.MoneyTransfer.Api/Sample.MoneyTransfer.API.csproj" "Sample.MoneyTransfer.Api/Sample.MoneyTransfer.API.csproj"

RUN dotnet restore "Sample.MoneyTransfer.Api/Sample.MoneyTransfer.API.csproj"

COPY ["Sample.MoneyTransfer.Api/", "./"]


WORKDIR /Sample.MoneyTransfer.Api/
RUN dotnet restore

RUN dotnet publish --no-restore -c Release -o /app/publish

Expand Down
31 changes: 0 additions & 31 deletions Sample.MoneyTransfer.Api/DotNetSample.sln

This file was deleted.

31 changes: 0 additions & 31 deletions Sample.MoneyTransfer.Api/Sample.MoneyTransfer.API.sln

This file was deleted.

0 comments on commit 76fce93

Please sign in to comment.