Spaces:
Runtime error
Runtime error
Dmitry Beresnev
commited on
Commit
·
b1b6c4e
1
Parent(s):
beacc62
fix dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -51,6 +51,6 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
|
| 51 |
CMD curl --fail http://localhost:7860/ || exit 1
|
| 52 |
|
| 53 |
# Run the application when the container starts HF
|
| 54 |
-
CMD ["
|
| 55 |
# Uncomment the line below to run the application locally
|
| 56 |
#CMD ["python", "-m", "telegram_bot"]
|
|
|
|
| 51 |
CMD curl --fail http://localhost:7860/ || exit 1
|
| 52 |
|
| 53 |
# Run the application when the container starts HF
|
| 54 |
+
CMD ["uvicorn", "src.telegram_bot:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 55 |
# Uncomment the line below to run the application locally
|
| 56 |
#CMD ["python", "-m", "telegram_bot"]
|