Merged API and CLI into one.

This commit is contained in:
2023-07-31 00:31:19 +02:00
parent fa19d3da14
commit 140074208f
11 changed files with 108 additions and 276 deletions

View File

@ -1,13 +0,0 @@
# syntax=docker/dockerfile:1
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
WORKDIR /src
COPY . /src/
RUN dotnet restore /src/API/API.csproj
RUN dotnet publish -c Release -o /publish
FROM glax/tranga-base:latest as runtime
WORKDIR /publish
COPY --from=build-env /publish .
EXPOSE 6531
ENTRYPOINT ["dotnet", "/publish/API.dll"]