xdragxt commited on
Commit
4874a6d
·
verified ·
1 Parent(s): dbf524f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -26,6 +26,7 @@ ENV PIP_ROOT_USER_ACTION=ignore
26
  # Upgrade pip and install Python requirements
27
  RUN pip install --upgrade pip
28
  RUN pip install --no-cache-dir -r requirements.txt
 
29
 
30
  # Optional: Run installer if needed
31
  RUN bash installer.sh || true
@@ -43,4 +44,4 @@ RUN mkdir -p /app/pdf && chmod -R 777 /app/pdf
43
  ENV PYTHONPATH="${PYTHONPATH}:/app"
44
 
45
  # Start the bot
46
- CMD ["bash", "startup"]
 
26
  # Upgrade pip and install Python requirements
27
  RUN pip install --upgrade pip
28
  RUN pip install --no-cache-dir -r requirements.txt
29
+ RUN pip install uvicorn fastapi
30
 
31
  # Optional: Run installer if needed
32
  RUN bash installer.sh || true
 
44
  ENV PYTHONPATH="${PYTHONPATH}:/app"
45
 
46
  # Start the bot
47
+ CMD bash startup & python3 server.py