From 4cdd152ab8895231978169ad648364c848d439c6 Mon Sep 17 00:00:00 2001 From: Karan Trehan Date: Tue, 2 Jul 2024 13:14:52 +0530 Subject: [PATCH] Update Dockerfile for prod deployment --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 53f495c..f841f72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,12 +11,12 @@ COPY . /app RUN pip install --no-cache-dir -r requirements.txt # Make port 5000 available to the world outside this container -EXPOSE 5000 +EXPOSE 7000 # Define environment variable ENV FLASK_APP=wsgi.py ENV FLASK_RUN_HOST=0.0.0.0 # Run the application -CMD ["flask", "run"] +CMD ["flask", "run", "--host=0.0.0.0", "--port=7000"]