Skip to content

Commit

Permalink
We try something funky:
Browse files Browse the repository at this point in the history
  • Loading branch information
KarmaKamikaze committed Sep 23, 2024
1 parent 5e8d3be commit e240979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MoxfieldPriceScraper/Dockerfile
Original file line number Diff line number Diff line change
@@ -8,10 +8,10 @@ ARG BUILD_CONFIGURATION=Release
WORKDIR /app

COPY *.csproj ./
RUN dotnet restore --disable-parallel
RUN DOTNET_EnableWriteXorExecute=0 dotnet restore --disable-parallel

COPY . ./
RUN dotnet publish -c $BUILD_CONFIGURATION -o out --no-restore
RUN DOTNET_EnableWriteXorExecute=0 dotnet publish -c $BUILD_CONFIGURATION -o out --no-restore

FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
WORKDIR /app

0 comments on commit e240979

Please sign in to comment.