From b45f71f1c1c98175f60133f46d680e902482d785 Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Mon, 20 Feb 2023 16:28:24 +0100 Subject: [PATCH] Test Modif port Dockerfile --- code/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/Dockerfile b/code/Dockerfile index 7a5a754..455778b 100644 --- a/code/Dockerfile +++ b/code/Dockerfile @@ -5,8 +5,9 @@ COPY server/Server/Program.cs Program.cs RUN dotnet publish -c Release -o out FROM mcr.microsoft.com/dotnet/runtime:6.0 +EXPOSE 3131 WORKDIR /app COPY --from=build /app/out . ENTRYPOINT ["dotnet", "app.dll"] -EXPOSE 3131 +