update ports
This commit is contained in:
@@ -16,7 +16,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
|
||||
# Expose the port Flask runs on
|
||||
EXPOSE 10333
|
||||
EXPOSE 5000
|
||||
|
||||
# Set environment variable for Flask
|
||||
ENV FLASK_APP=app.py
|
||||
|
||||
@@ -4,7 +4,7 @@ services:
|
||||
web:
|
||||
build: .
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "10333:5000"
|
||||
environment:
|
||||
- FLASK_APP=app.py
|
||||
- FLASK_ENV=production
|
||||
|
||||
Reference in New Issue
Block a user