Changed port not to run on most common flask debug

This commit is contained in:
Boyan 2024-12-07 23:51:02 +01:00
parent 156170863b
commit d08c041892
2 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,6 @@ RUN python /app/src/manage_users.py init
ENV FLASK_APP=src/app.py ENV FLASK_APP=src/app.py
ENV FLASK_RUN_HOST=0.0.0.0 ENV FLASK_RUN_HOST=0.0.0.0
EXPOSE 5000 EXPOSE 49152
CMD ["flask", "run"] CMD ["flask", "run"]

View File

@ -4,7 +4,7 @@ services:
context: . context: .
container_name: shortn container_name: shortn
ports: ports:
- "5000:5000" - "49152:49152"
volumes: volumes:
- ./src:/app/src - ./src:/app/src
environment: environment: