diff --git a/deploy_hed/Dockerfile b/deploy_hed/Dockerfile index 6fb1ef8..9279961 100644 --- a/deploy_hed/Dockerfile +++ b/deploy_hed/Dockerfile @@ -36,8 +36,8 @@ ENV PYTHONPATH="/root/hedtools" # Set environment variables for the application ENV HEDTOOLS_CONFIG_CLASS=config.ProductionConfig -# Expose the Gunicorn port (33004 by default) -EXPOSE 33000 +# Expose the Gunicorn port (80 by default) +EXPOSE 80 # Run the Flask application with Gunicorn, binding to port 33000 -CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:33000", "runserver:app"] +CMD ["gunicorn", "-w", "4", "-b", "127.0.0.1:80", "runserver:app"] diff --git a/deploy_hed_dev/Dockerfile b/deploy_hed_dev/Dockerfile index 443e17a..5a0012c 100644 --- a/deploy_hed_dev/Dockerfile +++ b/deploy_hed_dev/Dockerfile @@ -37,8 +37,8 @@ ENV PYTHONPATH="/root/hedtools" # Set environment variables for the application ENV HEDTOOLS_CONFIG_CLASS=config.ProductionConfig -# Expose the Gunicorn port (33004 by default) -EXPOSE 33004 +# Expose the Gunicorn port (80 by default) +EXPOSE 80 # Run the Flask application with Gunicorn, binding to port 33004 -CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:33004", "runserver:app"] +CMD ["gunicorn", "-w", "4", "-b", "127.0.0.1:80", "runserver:app"]