tesses-cms/Dockerfile

14 lines
339 B
Docker
Raw Permalink Normal View History

2024-07-28 22:59:28 +00:00
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
2024-01-04 02:53:13 +00:00
WORKDIR /src
COPY . .
WORKDIR /src/Tesses.CMS.Server
RUN dotnet publish -c Release -o /app
2024-07-28 22:59:28 +00:00
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runner
2024-01-04 02:53:13 +00:00
RUN apt update && apt install -y ffmpeg
WORKDIR /app
COPY --from=build /app .
EXPOSE 62444
ENTRYPOINT ["dotnet", "Tesses.CMS.Server.dll", "/data"]