From 53a0322ec265aad1dc90ef2c9719665c62a5f600 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Sun, 9 Aug 2026 13:22:27 +0200 Subject: [PATCH] dockerfile fix --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fb8196a..2c82911 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,12 +8,16 @@ RUN npm run build # Stage 2: .NET Publish FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +RUN apt-get update && apt-get install -y curl && \ + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ + apt-get install -y nodejs && \ + rm -rf /var/lib/apt/lists/* WORKDIR /src COPY *.csproj *.sln ./ RUN dotnet restore COPY . . COPY --from=frontend /app/client/build ./client/build -RUN dotnet publish -c Release -o /app/publish --no-restore +RUN dotnet publish FocusApp.csproj -c Release -o /app/publish --no-restore # Stage 3: Runtime FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime