From 2877c2c722dfc2c80c2dc9a928ff041cd2be6d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MIELCAREK?= Date: Tue, 10 Oct 2023 13:28:13 +0200 Subject: [PATCH] Update 'Sources/Dockerfile' --- Sources/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Sources/Dockerfile b/Sources/Dockerfile index e266fca..33fcd48 100644 --- a/Sources/Dockerfile +++ b/Sources/Dockerfile @@ -3,10 +3,7 @@ WORKDIR /src COPY . . -RUN dotnet add OpenLibraryWrapper/OpenLibraryWrapper.csproj package Swashbuckle.AspNetCore -v 6.5 -RUN dotnet restore OpenLibraryWrapper/OpenLibraryWrapper.csproj -RUN dotnet build OpenLibraryWrapper/OpenLibraryWrapper.csproj -RUN dotnet publish OpenLibraryWrapper/OpenLibraryWrapper.csproj -c Release -o /src/publish +RUN dotnet add OpenLibraryWrapper/OpenLibraryWrapper.csproj package Swashbuckle.AspNetCore -v 6.5 && dotnet restore OpenLibraryWrapper/OpenLibraryWrapper.csproj && dotnet build OpenLibraryWrapper/OpenLibraryWrapper.csproj && dotnet publish OpenLibraryWrapper/OpenLibraryWrapper.csproj -c Release -o /src/publish FROM mcr.microsoft.com/dotnet/aspnet:7.0 WORKDIR /app