Dmitry Beresnev commited on
Commit
c916f05
·
1 Parent(s): fcbdae0

add hello world fastapi app

Browse files
Files changed (2) hide show
  1. .env.example +2 -2
  2. Dockerfile +2 -2
.env.example CHANGED
@@ -1,4 +1,4 @@
1
  TELEGRAM_TOKEN=
2
  FINNHUB_API_TOKEN=
3
- ACCESS_TOKEN=
4
- SPACE_ID=
 
1
  TELEGRAM_TOKEN=
2
  FINNHUB_API_TOKEN=
3
+ SPACE_ID=
4
+ GEMINI_API_TOKEN=
Dockerfile CHANGED
@@ -57,7 +57,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
57
  CMD curl --fail http://localhost:7860/health || exit 1
58
 
59
  # Run the application when the container starts HF
60
- CMD ["uvicorn", "src.telegram_bot:app", "--host", "0.0.0.0", "--port", "7860"]
61
- #CMD ["python", "main.py"]
62
  # Uncomment the line below to run the application locally
63
  #CMD ["python", "-m", "telegram_bot"]
 
57
  CMD curl --fail http://localhost:7860/health || exit 1
58
 
59
  # Run the application when the container starts HF
60
+ #CMD ["uvicorn", "src.telegram_bot:app", "--host", "0.0.0.0", "--port", "7860"]
61
+ CMD ["python", "main.py"]
62
  # Uncomment the line below to run the application locally
63
  #CMD ["python", "-m", "telegram_bot"]