Skip to content

Commit

Permalink
Dockerfile now builds using .proj file (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
bethcryer authored Feb 15, 2023
1 parent 7bd9084 commit 7270f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app

COPY . .

RUN dotnet restore && dotnet publish -c Release -o out
RUN dotnet restore && dotnet publish src/Answer.King.Api/Answer.King.Api.csproj -c Release -o out

#build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:7.0
Expand Down

0 comments on commit 7270f6c

Please sign in to comment.