ou!hioi
continuous-integration/drone/push Build is passing Details

main
Victor Perez NGOUNOU 2 years ago
parent 69162107a0
commit 613d84ccea

@ -76,7 +76,7 @@ app.UseEndpoints(endpoint=>
endpoint.MapControllers();
});
app.UseHttpsRedirection();
//app.UseHttpsRedirection();
app.UseAuthorization();

@ -23,6 +23,4 @@ RUN dotnet publish "BowlingApi.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENV ASPNETCORE_URLS=https://+:443;http://+:80
ENV ASPNETCORE_HTTPS_PORT=443
ENTRYPOINT ["dotnet", "BowlingApi.dll"]

Loading…
Cancel
Save