From f133e9f96618559a166389a5348423cda98fca1a Mon Sep 17 00:00:00 2001 From: Michael McKechney Date: Wed, 13 Dec 2023 13:22:34 -0500 Subject: [PATCH] Simplifing Docker build --- src/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index 8332ca96..2a618d0e 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -30,13 +30,13 @@ COPY ["SqlSync.SqlBuild/SqlSync.SqlBuild.csproj", "SqlSync.SqlBuild/SqlSync.SqlB RUN true COPY ["SqlBuildManager.ScriptHandling/SqlBuildManager.ScriptHandling.csproj", "SqlBuildManager.ScriptHandling/"] -RUN true -RUN dotnet restore "SqlBuildManager.Console/sbm.csproj" +#RUN true +#RUN dotnet restore "SqlBuildManager.Console/sbm.csproj" COPY . . WORKDIR "/src/SqlBuildManager.Console" -RUN dotnet build "sbm.csproj" --configuration Release -f net8.0 -o /app/build -r linux-x64 --self-contained +#RUN dotnet build "sbm.csproj" --configuration Release -f net8.0 -o /app/build -r linux-x64 --self-contained FROM build AS publish RUN dotnet publish "sbm.csproj" --configuration Release -f net8.0 -o /app/publish -r linux-x64 --self-contained