Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JonTaylor1971 committed May 2, 2024
1 parent 8d1d40e commit 935b5ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ RUN npm install -g autorest
#RUN dotnet test -c Release

# build
RUN dotnet build "web/web.njsproj" -c Release -o /app/publish
FROM build AS publish
RUN dotnet restore "web/web.njsproj"
RUN msbuild "web/web.njsproj" -c Release -o /app/publish
FROM build AS publish
RUN dotnet publish "web/web.njsproj" -c Release -o /app/publish
# --runtime linux-musl-x64 --no-self-contained

Expand Down

0 comments on commit 935b5ce

Please sign in to comment.