docker file for otel proj

This commit is contained in:
Simon Larsen
2023-10-24 11:56:52 +01:00
parent 81e4b4435c
commit 323646ebcd

View File

@@ -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/"]