Spaces:
Sleeping
Sleeping
Merge pull request #70 from EQUES-Inc/hotfix/modify-change-user-timing
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -3,8 +3,6 @@ FROM python:3.11.9-slim
|
|
3 |
# cf: https://huggingface.co/docs/hub/en/spaces-sdks-docker#permissions
|
4 |
RUN useradd -m -u 1000 user
|
5 |
|
6 |
-
USER user
|
7 |
-
|
8 |
ENV HOME=/home/user \
|
9 |
PATH=/home/user/.local/bin:$PATH
|
10 |
|
@@ -19,6 +17,8 @@ RUN apt-get update && \
|
|
19 |
apt-get install -y ffmpeg && \
|
20 |
pip install -r requirements.txt
|
21 |
|
|
|
|
|
22 |
EXPOSE 8501
|
23 |
|
24 |
COPY . $HOME/app
|
|
|
3 |
# cf: https://huggingface.co/docs/hub/en/spaces-sdks-docker#permissions
|
4 |
RUN useradd -m -u 1000 user
|
5 |
|
|
|
|
|
6 |
ENV HOME=/home/user \
|
7 |
PATH=/home/user/.local/bin:$PATH
|
8 |
|
|
|
17 |
apt-get install -y ffmpeg && \
|
18 |
pip install -r requirements.txt
|
19 |
|
20 |
+
USER user
|
21 |
+
|
22 |
EXPOSE 8501
|
23 |
|
24 |
COPY . $HOME/app
|