Spaces:
Sleeping
Sleeping
Mimi
commited on
Commit
·
8b47ea4
1
Parent(s):
49184e1
asdf
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -2,9 +2,8 @@ FROM python:3.12
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
COPY ./requirements.txt /app/requirements.txt
|
| 5 |
-
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
| 6 |
-
|
| 7 |
-
RUN huggingface-cli login --token $HF_TOKEN --add-to-git-credential
|
| 8 |
|
| 9 |
# Add user
|
| 10 |
RUN useradd -m -u 1000 user
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
COPY ./requirements.txt /app/requirements.txt
|
| 5 |
+
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt && \
|
| 6 |
+
huggingface-cli login --token $HF_TOKEN --add-to-git-credential
|
|
|
|
| 7 |
|
| 8 |
# Add user
|
| 9 |
RUN useradd -m -u 1000 user
|