Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,7 @@ WORKDIR /
|
|
| 10 |
# Install requirements.txt
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 12 |
|
|
|
|
| 13 |
USER user
|
| 14 |
ENV HF_HOME=/home/user/app/hf_cache
|
| 15 |
|
|
|
|
| 10 |
# Install requirements.txt
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 12 |
|
| 13 |
+
RUN useradd -m -u 1000 user
|
| 14 |
USER user
|
| 15 |
ENV HF_HOME=/home/user/app/hf_cache
|
| 16 |
|