levydaniel commited on
Commit
143c887
·
verified ·
1 Parent(s): 628cf1b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -4,6 +4,7 @@
4
  FROM python:3.9
5
 
6
  RUN useradd -m -u 1000 user
 
7
  USER user
8
  ENV PATH="/home/user/.local/bin:$PATH"
9
 
@@ -13,4 +14,4 @@ COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
4
  FROM python:3.9
5
 
6
  RUN useradd -m -u 1000 user
7
+ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
8
  USER user
9
  ENV PATH="/home/user/.local/bin:$PATH"
10
 
 
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
  COPY --chown=user . /app
17
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]