azils3 commited on
Commit
20e6b23
·
verified ·
1 Parent(s): b2066d8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,3 +1,4 @@
 
1
  FROM python:3.10
2
 
3
  # Create a non-root user with valid username format
@@ -33,5 +34,5 @@ RUN touch $LOG_PATH && chmod 666 $LOG_PATH
33
  # Expose port
34
  EXPOSE 7860
35
 
36
- # Run both services
37
  CMD ["sh", "-c", "python bot.py & flask run"]
 
1
+ # Dockerfile
2
  FROM python:3.10
3
 
4
  # Create a non-root user with valid username format
 
34
  # Expose port
35
  EXPOSE 7860
36
 
37
+ # Start Pyrogram bot and Flask app separately
38
  CMD ["sh", "-c", "python bot.py & flask run"]