Очистка мусора
This commit is contained in:
@@ -3,10 +3,10 @@ WORKDIR /app
|
||||
|
||||
# Copy everything and restore as distinct layers
|
||||
COPY . .
|
||||
RUN dotnet restore apps/server-net/Vortex.sln
|
||||
RUN dotnet restore apps/server-net/Knot.sln
|
||||
|
||||
# Build and publish a release
|
||||
RUN dotnet publish apps/server-net/src/Vortex.Host/Vortex.Host.csproj -c Release -o out
|
||||
RUN dotnet publish apps/server-net/src/Host/Host.csproj -c Release -o out
|
||||
|
||||
# Build runtime image
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0-preview
|
||||
@@ -20,4 +20,4 @@ COPY --from=build /app/out .
|
||||
EXPOSE 8080
|
||||
ENV ASPNETCORE_URLS=http://+:8080
|
||||
|
||||
ENTRYPOINT ["dotnet", "Vortex.Host.dll"]
|
||||
ENTRYPOINT ["dotnet", "Host.dll"]
|
||||
|
||||
Reference in New Issue
Block a user