Skip to content

Commit

Permalink
--disable-build-servers
Browse files Browse the repository at this point in the history
  • Loading branch information
vonProteus committed Aug 31, 2024
1 parent 1746a0c commit 3a44c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update \
&& apt-get autopurge -y \
&& apt-get autoclean -y

FROM mcr.microsoft.com/dotnet/sdk:8.0.302 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
WORKDIR /src

COPY Tranga.sln /src
Expand All @@ -18,7 +18,7 @@ COPY Tranga/Tranga.csproj /src/Tranga/Tranga.csproj
RUN dotnet restore /src/Tranga.sln

COPY . /src/
RUN dotnet publish -c Release -o /publish /nodeReuse:false
RUN dotnet publish -c Release -o /publish --disable-build-servers

FROM base AS runtime
EXPOSE 6531
Expand Down

0 comments on commit 3a44c63

Please sign in to comment.