Update Dockerfiles and compose paths for new flat structure

This commit is contained in:
Халимов Рустам
2026-03-19 22:34:49 +03:00
parent 77912f2d88
commit 17d02beb30
4 changed files with 9 additions and 12 deletions
+2 -2
View File
@@ -3,10 +3,10 @@ WORKDIR /app
# Copy everything and restore as distinct layers
COPY . .
RUN dotnet restore apps/server-net/Knot.sln
RUN dotnet restore Knot.sln
# Build and publish a release
RUN dotnet publish apps/server-net/src/Host/Host.csproj -c Release -o out
RUN dotnet publish src/Host/Host.csproj -c Release -o out
# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:10.0-preview