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 website/ ./website/
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 6000
|
||||||
|
|
||||||
# Verify installations
|
# Verify installations
|
||||||
RUN pip list
|
RUN pip list
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "6000:6000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./website:/app/website
|
- ./website:/app/website
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -299,4 +299,4 @@ if __name__ == '__main__':
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error initializing database: {str(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