Spaces:
Running
Running
fix: changes in the docker
Browse files- 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"]
|