From c6b3bc7662bc81045e9e88b2393a3d1affbb439f Mon Sep 17 00:00:00 2001 From: "Manuel Weiser (aider)" Date: Thu, 5 Sep 2024 09:20:58 +0200 Subject: [PATCH] feat: add port mapping for Flask in Dockerfile to expose port 3004 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 114fa8e..5db05af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,6 @@ RUN pip install --no-cache-dir -r requirements.txt COPY game_collection . -CMD [ "flask", "run", "--host=0.0.0.0" ] +EXPOSE 3004 + +CMD [ "flask", "run", "--host=0.0.0.0", "--port=3004" ]