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 +