Fix Docker build

The solution file includes the test project, but the test project isn't
copied into the first stage of the Dockerfile.
This commit is contained in:
Sven van Heugten 2026-01-04 20:23:16 +01:00
parent 4e6fc6645c
commit 52ec6dc025

View file

@ -3,7 +3,7 @@ WORKDIR /app
COPY NightLight.sln ./ COPY NightLight.sln ./
COPY NightLight.Core/NightLight.Core.fsproj NightLight.Core/ COPY NightLight.Core/NightLight.Core.fsproj NightLight.Core/
COPY NightLight/NightLight.fsproj NightLight/ COPY NightLight/NightLight.fsproj NightLight/
RUN dotnet restore RUN dotnet restore NightLight/NightLight.fsproj
COPY . ./ COPY . ./
RUN dotnet publish NightLight/NightLight.fsproj --no-restore -c Release -o out RUN dotnet publish NightLight/NightLight.fsproj --no-restore -c Release -o out