Spaces:
Running
Running
Mimi
commited on
Commit
·
6630247
1
Parent(s):
61ede53
lol
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -7,11 +7,11 @@ 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
|
11 |
|
12 |
USER user
|
13 |
WORKDIR $HOME/app
|
14 |
-
RUN pip install --user --no-cache-dir --upgrade -r
|
15 |
EXPOSE 7860
|
16 |
|
17 |
# Login to Hugging Face at runtime & Start 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_hub[cli]
|
11 |
|
12 |
USER user
|
13 |
WORKDIR $HOME/app
|
14 |
+
RUN pip install --user --no-cache-dir --upgrade -r requirements.txt
|
15 |
EXPOSE 7860
|
16 |
|
17 |
# Login to Hugging Face at runtime & Start app
|