Pujan-Dev commited on
Commit
9828912
·
1 Parent(s): 9d68d5c

fix: changes in the docker

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -12,6 +12,7 @@ WORKDIR /app
12
  COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
  RUN python -m spacy download en_core_web_sm || echo "Failed to download model"
 
15
 
16
  COPY --chown=user . /app
17
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
12
  COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
  RUN python -m spacy download en_core_web_sm || echo "Failed to download model"
15
+ RUN apt-get update && apt-get install -y libgl1
16
 
17
  COPY --chown=user . /app
18
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]