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