Update 'Sources/Dockerfile'
continuous-integration/drone/push Build is passing Details

master
Félix MIELCAREK 2 years ago
parent 644501c6e0
commit 4e363a914d

@ -1,5 +1,5 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR .
WORKDIR /src
COPY . .
RUN dotnet add OpenLibraryWrapper/OpenLibraryWrapper.csproj package Swashbuckle.AspNetCore -v 6.5
@ -9,7 +9,7 @@ RUN dotnet build OpenLibraryWS_Wrapper.sln
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build /app .
COPY --from=build /src /app
EXPOSE 80
ENTRYPOINT ["dotnet", "OpenLibraryWrapper.dll"]
Loading…
Cancel
Save