From 323646ebcdb36d39b9a4ba2b24c9b51be6d4e9e8 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 24 Oct 2023 11:56:52 +0100 Subject: [PATCH] docker file for otel proj --- Examples/otel-dotnet/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Examples/otel-dotnet/Dockerfile b/Examples/otel-dotnet/Dockerfile index e69de29bb2..0527b398c4 100644 --- a/Examples/otel-dotnet/Dockerfile +++ b/Examples/otel-dotnet/Dockerfile @@ -0,0 +1,12 @@ +# Docker file to run this dot net project +FROM mcr.microsoft.com/dotnet/sdk:6.0 +WORKDIR /app + +COPY . ./ + +RUN dotnet build + +EXPOSE 7856 + +ENTRYPOINT ["dotnet", "run", "--urls=http://localhost:7856/"] +