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:
@@ -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
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "6000:6000"
|
||||
volumes:
|
||||
- ./website:/app/website
|
||||
environment:
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user