Spaces:
Running
Running
Commit
•
a9d067c
1
Parent(s):
2293487
fix: permission
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -7,6 +7,7 @@ ENV HOME=/home/user \
|
|
7 |
WORKDIR $HOME/app
|
8 |
ENV TRANSFORMERS_CACHE=$HOME/app/.cache
|
9 |
ENV HUGGINGFACE_HUB_CACHE=$HOME/app/.cache
|
|
|
10 |
RUN chmod 777 $HOME/app/.cache
|
11 |
COPY ./requirements.txt $HOME/app/requirements.txt
|
12 |
|
|
|
7 |
WORKDIR $HOME/app
|
8 |
ENV TRANSFORMERS_CACHE=$HOME/app/.cache
|
9 |
ENV HUGGINGFACE_HUB_CACHE=$HOME/app/.cache
|
10 |
+
RUN mkdir -p $HOME/app/.cache
|
11 |
RUN chmod 777 $HOME/app/.cache
|
12 |
COPY ./requirements.txt $HOME/app/requirements.txt
|
13 |
|