Dockerfile и http
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-05 16:46:47 +03:00
parent 4e30f3e7a5
commit 81a01ae4ed
5 changed files with 40 additions and 4 deletions

View File

@@ -7,6 +7,6 @@ RUN dotnet publish "SchengenVisaApi/SchengenVisaApi.csproj" -c Release -o /app/p
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
WORKDIR /app
COPY --from=build /app/publish ./
ENV ASPNETCORE_URLS=https://*:5000
ENV ASPNETCORE_URLS=http://*:5000
EXPOSE 5000
ENTRYPOINT ["dotnet", "SchengenVisaApi.dll"]