benjolo commited on
Commit
d2cc78e
1 Parent(s): 601c3de

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -13,6 +13,7 @@ WORKDIR backend/
13
 
14
  # Install requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
 
16
 
17
  # Start the FastAPI app on port 7860, the default port expected by Spaces
18
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
13
 
14
  # Install requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
16
+ RUN pip install pydantic[email]
17
 
18
  # Start the FastAPI app on port 7860, the default port expected by Spaces
19
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]