2
0
Tranga/Dockerfile

17 lines
427 B
Docker
Raw Normal View History

# syntax=docker/dockerfile:1
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
WORKDIR /src
2023-09-02 22:39:54 +02:00
COPY CLI /src/CLI
2023-07-31 00:31:19 +02:00
COPY Tranga /src/Tranga
COPY Logging /src/Logging
COPY Tranga.sln /src
RUN dotnet restore /src/Tranga/Tranga.csproj
RUN dotnet publish -c Release -o /publish
2023-06-20 23:26:49 +02:00
FROM glax/tranga-base:latest as runtime
WORKDIR /publish
COPY --from=build-env /publish .
EXPOSE 6531
2023-09-14 14:55:45 +02:00
ENTRYPOINT ["dotnet", "/publish/Tranga.dll", "-c"]