Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -4,14 +4,14 @@ COPY requirements.txt .
|
|
4 |
COPY app.py .
|
5 |
COPY ./models .
|
6 |
|
7 |
-
RUN sudo chmod 775 ./cache
|
8 |
-
|
9 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
10 |
|
11 |
RUN pip install librosa
|
12 |
|
13 |
RUN pip install -r requirements.txt
|
14 |
|
15 |
-
|
|
|
|
|
16 |
|
17 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
4 |
COPY app.py .
|
5 |
COPY ./models .
|
6 |
|
|
|
|
|
7 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
8 |
|
9 |
RUN pip install librosa
|
10 |
|
11 |
RUN pip install -r requirements.txt
|
12 |
|
13 |
+
RUN useradd -m -u 1000 user
|
14 |
+
|
15 |
+
USER user
|
16 |
|
17 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|