Update Docker configuration to change exposed port from 5000 to 6000 in Dockerfile and docker-compose.yml, ensuring consistency across the application.

This commit is contained in:
2025-04-20 19:48:49 +01:00
parent 506748fda7
commit 03f8761312
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -6,7 +6,7 @@ services:
context: .
dockerfile: Dockerfile
ports:
- "5000:5000"
- "6000:6000"
volumes:
- ./website:/app/website
environment:

View File

@@ -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)
app.run(host="0.0.0.0", port=6000, debug=True)