forked from Alexey/DAS_2024_1
еще разок попытаем удачу
This commit is contained in:
parent
74e61987dc
commit
14338ff5ac
@ -8,7 +8,8 @@ RUN dotnet restore
|
|||||||
# Build and publish a release
|
# Build and publish a release
|
||||||
RUN dotnet publish -c Release -o out
|
RUN dotnet publish -c Release -o out
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS app
|
||||||
|
ENV ASPNETCORE_URLS=http://*:5089
|
||||||
WORKDIR /App
|
WORKDIR /App
|
||||||
COPY --from=build /App/out .
|
COPY --from=build /App/out .
|
||||||
ENTRYPOINT ["dotnet", "ApiRestaurant.dll"]
|
ENTRYPOINT ["dotnet", "ApiRestaurant.dll"]
|
@ -1,3 +1,4 @@
|
|||||||
|
http {
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
@ -19,3 +20,4 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Prefix /admin;
|
proxy_set_header X-Forwarded-Prefix /admin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user