MKE0108 commited on
Commit
6d026e3
·
1 Parent(s): c9c6ccf
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -13,5 +13,5 @@ COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
- # RUN python bot_main.py
17
- CMD ["python", "bot_main.py"]
 
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
+ RUN nohup python bot_main.py &
17
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]