Skip to content

Commit

Permalink
*sigh*
Browse files Browse the repository at this point in the history
  • Loading branch information
mplogas committed Mar 16, 2024
1 parent a42636d commit 2003f9f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions KernelMemory.FileWatcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ WORKDIR /src
COPY ["./KernelMemory.FileWatcher.csproj", "./"]
RUN dotnet restore ./KernelMemory.FileWatcher.csproj
COPY . ./
RUN dotnet build "./KernelMemory.FileWatcher.csproj" -c $BUILD_CONFIGURATION -o /app/build
RUN dotnet publish "./KernelMemory.FileWatcher.csproj" -c $BUILD_CONFIGURATION -o /app/publish

FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "./KernelMemory.FileWatcher.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
Expand Down

0 comments on commit 2003f9f

Please sign in to comment.