Spaces:
Runtime error
Runtime error
gmerrill
commited on
Commit
·
4ff357e
1
Parent(s):
25b91cd
update
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -10,6 +10,10 @@ COPY ./requirements.txt /code/requirements.txt
|
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
|
|
|
|
|
|
|
|
13 |
# Set up a new user named "user" with user ID 1000
|
14 |
RUN useradd -m -u 1000 user
|
15 |
# Switch to the "user" user
|
|
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
+
RUN mkdir -p /.cache/huggingface/hub && \
|
14 |
+
chmod a+rw /.cache/huggingface/hub && \
|
15 |
+
echo made cache dir read-write
|
16 |
+
|
17 |
# Set up a new user named "user" with user ID 1000
|
18 |
RUN useradd -m -u 1000 user
|
19 |
# Switch to the "user" user
|