Dmitry Beresnev commited on
Commit
f74cab2
·
1 Parent(s): a156819

fix dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -23,10 +23,8 @@ RUN pip3 install --no-cache-dir -r requirements.txt
23
  ENV http_proxy ""
24
  ENV https_proxy ""
25
 
26
- EXPOSE 8443
27
 
28
- EXPOSE 8080
29
 
30
- HEALTHCHECK CMD curl --fail http://localhost:8443/_stcore/health
31
-
32
- ENTRYPOINT ["python3", "src/telegram_bot.py"]
 
23
  ENV http_proxy ""
24
  ENV https_proxy ""
25
 
26
+ EXPOSE 7860
27
 
28
+ HEALTHCHECK CMD curl --fail http://localhost:7860/
29
 
30
+ ENTRYPOINT ["uvicorn", "src.telegram_bot:app", "--host", "0.0.0.0", "--port", "7860"]