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:
parent
4e6fc6645c
commit
52ec6dc025
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ WORKDIR /app
|
|||
COPY NightLight.sln ./
|
||||
COPY NightLight.Core/NightLight.Core.fsproj NightLight.Core/
|
||||
COPY NightLight/NightLight.fsproj NightLight/
|
||||
RUN dotnet restore
|
||||
RUN dotnet restore NightLight/NightLight.fsproj
|
||||
COPY . ./
|
||||
RUN dotnet publish NightLight/NightLight.fsproj --no-restore -c Release -o out
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue