Initial commit
This commit is contained in:
commit
284fdc1261
16 changed files with 448 additions and 0 deletions
13
NightLight/Dockerfile
Normal file
13
NightLight/Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
WORKDIR /app
|
||||
COPY NightLight.sln ./
|
||||
COPY NightLight.Core/NightLight.Core.fsproj NightLight.Core/
|
||||
COPY NightLight/NightLight.fsproj NightLight/
|
||||
RUN dotnet restore
|
||||
COPY . ./
|
||||
RUN dotnet publish NightLight/NightLight.fsproj --no-restore -c Release -o out
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/runtime:9.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/out .
|
||||
ENTRYPOINT ["dotnet", "NightLight.dll"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue