Spaces:
Sleeping
Sleeping
Mimi
commited on
Commit
·
1a92f96
1
Parent(s):
edf07d4
asdf
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -21,8 +21,7 @@ COPY --chown=user . $HOME/app
|
|
21 |
|
22 |
# Copy requirements and install dependencies
|
23 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt \
|
24 |
-
chown -R user:user $HOME
|
25 |
-
&& chmod -R u+rwX,go=rX $HOME
|
26 |
|
27 |
# Hugging Face Spaces does NOT support --mount=type=secret.
|
28 |
# Instead, access HF_TOKEN via environment variables at runtime.
|
|
|
21 |
|
22 |
# Copy requirements and install dependencies
|
23 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt \
|
24 |
+
chown -R user:user $HOME
|
|
|
25 |
|
26 |
# Hugging Face Spaces does NOT support --mount=type=secret.
|
27 |
# Instead, access HF_TOKEN via environment variables at runtime.
|