mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 03:34:56 +00:00
help me
This commit is contained in:
@@ -13,10 +13,6 @@ RUN dotnet restore Govor.API/Govor.API.csproj
|
||||
|
||||
# Êîïèðóåì âåñü êîä
|
||||
COPY . .
|
||||
|
||||
# ÓÄÀËßÅÌ launchSettings.json
|
||||
RUN rm -f Govor.API/Properties/launchSettings.json
|
||||
|
||||
WORKDIR /src/Govor.API
|
||||
RUN dotnet publish -c Release -o /app/publish
|
||||
|
||||
@@ -25,10 +21,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/publish .
|
||||
|
||||
# Ïðèíóäèòåëüíî óñòàíàâëèâàåì ïîðò
|
||||
ENV ASPNETCORE_URLS=http://+:8080
|
||||
ENV ASPNETCORE_ENVIRONMENT=Production
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["dotnet", "Govor.API.dll"]
|
||||
Reference in New Issue
Block a user