Update Dockerfile

This commit is contained in:
2024-09-24 16:16:17 +02:00
committed by GitHub
Unverified
parent a59c158fea
commit 27d8f368f6

View File

@@ -15,7 +15,7 @@ RUN dotnet build "WatchIt.WebAPI.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "WatchIt.WebAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
RUN dotnet dev-certs https
RUN dotnet dev-certs https --trust
FROM base AS final
WORKDIR /app