From e0681873979526f9ed721c3ca77018fc12fdd551 Mon Sep 17 00:00:00 2001 From: KarmaKamikaze Date: Wed, 25 Sep 2024 17:10:51 +0200 Subject: [PATCH] Use DOCKER constant in Dockerfile --- MoxfieldPriceScraper/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MoxfieldPriceScraper/Dockerfile b/MoxfieldPriceScraper/Dockerfile index 4fa075b..3078f9a 100644 --- a/MoxfieldPriceScraper/Dockerfile +++ b/MoxfieldPriceScraper/Dockerfile @@ -11,7 +11,7 @@ COPY *.csproj ./ RUN DOTNET_EnableWriteXorExecute=0 dotnet restore COPY . ./ -RUN DOTNET_EnableWriteXorExecute=0 dotnet publish -c $BUILD_CONFIGURATION -o out --no-restore +RUN DOTNET_EnableWriteXorExecute=0 dotnet publish -c $BUILD_CONFIGURATION -o out --no-restore -p:DOCKER_BUILD=true FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime WORKDIR /app