Перенёс Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-10-30 13:32:48 +03:00
parent de254806b6
commit a5f54f485c
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ../ ./
RUN dotnet restore
RUN dotnet publish "SchengenVisaApi/SchengenVisaApi.csproj" -c Release -o /app/publish
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
WORKDIR /app
COPY --from=build /app/publish ./
EXPOSE 5000
ENTRYPOINT ["dotnet", "SchengenVisaApi.dll"]