Skip to content

Commit

Permalink
Build release for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
fxsth committed Jan 21, 2024
1 parent c4f936e commit 4bcddc0
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 @@ -18,7 +18,7 @@ RUN dotnet restore "Web/Web.csproj" -a $TARGETARCH
WORKDIR "/src/Web"
COPY ./Web .

RUN dotnet publish "Web.csproj" -a $TARGETARCH --no-restore --self-contained false -o /app/publish
RUN dotnet publish "Web.csproj" -a $TARGETARCH -c Release --no-restore --self-contained false -o /app/publish

FROM mcr.microsoft.com/dotnet/aspnet:8.0
# Needed when csproj is .NET 7
Expand Down

0 comments on commit 4bcddc0

Please sign in to comment.