Add distributed F# monitoring platform
This commit is contained in:
11
Dockerfile.agent
Normal file
11
Dockerfile.agent
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN dotnet restore src/IpCheck.Agent/IpCheck.Agent.fsproj
|
||||
RUN dotnet publish src/IpCheck.Agent/IpCheck.Agent.fsproj -c Release -o /app --no-restore
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/runtime:10.0 AS runtime
|
||||
WORKDIR /app
|
||||
COPY --from=build /app .
|
||||
USER 10001:10001
|
||||
ENTRYPOINT ["dotnet", "IpCheck.Agent.dll"]
|
||||
Reference in New Issue
Block a user