muryshev commited on
Commit
212f451
·
1 Parent(s): 2ccde67

Dockerfile fix

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +3 -1
Dockerfile CHANGED
@@ -46,4 +46,4 @@ RUN python -c "from transformers import AutoTokenizer; \
46
  EXPOSE ${APP_PORT}
47
 
48
  # Run FastAPI app with Uvicorn
49
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", APP_PORT]
 
46
  EXPOSE ${APP_PORT}
47
 
48
  # Run FastAPI app with Uvicorn
49
+ CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port $APP_PORT"]
requirements.txt CHANGED
@@ -2,4 +2,6 @@ fastapi
2
  uvicorn
3
  python-dotenv
4
  pydantic
5
- httpx
 
 
 
2
  uvicorn
3
  python-dotenv
4
  pydantic
5
+ httpx
6
+ transformers
7
+ sentencepiece