RosiYo commited on
Commit
4930e66
·
1 Parent(s): a294355

feat[bert]: FastAPI interface

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -17,4 +17,5 @@ RUN chmod -R 777 /app/.cache
17
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
18
  ENV TRANSFORMERS_CACHE='/app/.cache'
19
 
 
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
17
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
18
  ENV TRANSFORMERS_CACHE='/app/.cache'
19
 
20
+ EXPOSE 7860
21
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]