viarias commited on
Commit
35a2bff
·
verified ·
1 Parent(s): d674c61

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -16,6 +16,7 @@ WORKDIR $HOME/app
16
  COPY --chown=user ./ $HOME/app
17
 
18
  RUN pip install -r requirements.txt
 
19
 
20
  # Set the default command to run the FastAPI app with Uvicorn
21
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
16
  COPY --chown=user ./ $HOME/app
17
 
18
  RUN pip install -r requirements.txt
19
+ RUN pip install --upgrade transformers
20
 
21
  # Set the default command to run the FastAPI app with Uvicorn
22
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]