Spaces:
Running
Running
Mimi
commited on
Commit
·
61ede53
1
Parent(s):
36a9660
asdf
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -6,8 +6,8 @@ ENV HOME=/home/user \
|
|
6 |
COPY . $HOME/app
|
7 |
RUN apt-get update && \
|
8 |
apt-get install -y git && \
|
9 |
-
--mount
|
10 |
-
pip install --
|
11 |
|
12 |
USER user
|
13 |
WORKDIR $HOME/app
|
|
|
6 |
COPY . $HOME/app
|
7 |
RUN apt-get update && \
|
8 |
apt-get install -y git && \
|
9 |
+
--mount=type=secret, id=HF_TOKEN, mode=0444, required=True && \
|
10 |
+
pip install --no-cache-dir huggingface-cli
|
11 |
|
12 |
USER user
|
13 |
WORKDIR $HOME/app
|