From 6f86c54a9bff366d0ef9530fd79fb4245bc400ee Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Wed, 21 Feb 2024 15:56:34 +0200 Subject: [PATCH] Fix --- src/BUTR.Site.NexusMods.Server/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BUTR.Site.NexusMods.Server/Dockerfile b/src/BUTR.Site.NexusMods.Server/Dockerfile index c633ed90..ef37aa01 100644 --- a/src/BUTR.Site.NexusMods.Server/Dockerfile +++ b/src/BUTR.Site.NexusMods.Server/Dockerfile @@ -13,7 +13,7 @@ COPY ["src/BUTR.Site.NexusMods.Server.ValueObjects.TVO/BUTR.Site.NexusMods.Serve COPY ["src/BUTR.Site.NexusMods.DependencyInjection/BUTR.Site.NexusMods.DependencyInjection.csproj", "src/BUTR.Site.NexusMods.DependencyInjection/"] COPY ["src/nuget.config", "src/"] -RUN dotnet restore "src/BUTR.Site.NexusMods.Server/BUTR.Site.NexusMods.Server.csproj" -r linux; +RUN dotnet restore "src/BUTR.Site.NexusMods.Server/BUTR.Site.NexusMods.Server.csproj"; #RUN dotnet restore "src/BUTR.Site.NexusMods.Server/BUTR.Site.NexusMods.Server.csproj" -r linux-x64 -p:PublishReadyToRun=true; COPY ["src/BUTR.Site.NexusMods.Server/", "src/BUTR.Site.NexusMods.Server/"] @@ -31,7 +31,7 @@ FROM restore AS publish ARG TARGETARCH WORKDIR /build -RUN dotnet publish "src/BUTR.Site.NexusMods.Server/BUTR.Site.NexusMods.Server.csproj" --no-restore -c Release -r linux -o /app/publish; +RUN dotnet publish "src/BUTR.Site.NexusMods.Server/BUTR.Site.NexusMods.Server.csproj" --no-restore -c Release -o /app/publish; #RUN dotnet publish "src/BUTR.Site.NexusMods.Server/BUTR.Site.NexusMods.Server.csproj" --no-restore -c Release -r linux-x64 -o /app/publish -p:PublishReadyToRun=true;