diff --git a/Dockerfile b/Dockerfile index aaa5e36a..d1f954a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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