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