From 03f876131294050da7394368a3c0ce8348a3dfa1 Mon Sep 17 00:00:00 2001 From: marwin Date: Sun, 20 Apr 2025 19:48:49 +0100 Subject: [PATCH] Update Docker configuration to change exposed port from 5000 to 6000 in Dockerfile and docker-compose.yml, ensuring consistency across the application. --- Dockerfile | 2 +- docker-compose.yml | 2 +- website/app.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b670f9f..2b0a952 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN pip install --no-cache-dir -r requirements.txt \ COPY website/ ./website/ COPY requirements.txt . -EXPOSE 5000 +EXPOSE 6000 # Verify installations RUN pip list diff --git a/docker-compose.yml b/docker-compose.yml index 8ebcbaa..0d82d19 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: context: . dockerfile: Dockerfile ports: - - "5000:5000" + - "6000:6000" volumes: - ./website:/app/website environment: diff --git a/website/app.py b/website/app.py index e76fc33..822d473 100644 --- a/website/app.py +++ b/website/app.py @@ -299,4 +299,4 @@ if __name__ == '__main__': except Exception as e: print(f"Error initializing database: {str(e)}") - app.run(host="0.0.0.0", debug=True) \ No newline at end of file + app.run(host="0.0.0.0", port=6000, debug=True) \ No newline at end of file