Remotely/Server/Dockerfile.pipelines
2024-05-31 11:10:34 -07:00

13 lines
325 B
Docker

FROM mcr.microsoft.com/dotnet/aspnet:8.0
EXPOSE ${ASPNETCORE_HTTP_PORTS}
RUN apt -y update && apt -y install curl
COPY /_immense.Remotely/Server/linux-x64/Server /app
WORKDIR /app
ENTRYPOINT ["dotnet", "Remotely_Server.dll"]
HEALTHCHECK \
CMD curl -f http://localhost:${ASPNETCORE_HTTP_PORTS}/api/healthcheck || exit 1