Spaces:
Sleeping
Sleeping
BeveledCube
commited on
Commit
•
5e7de02
1
Parent(s):
a06056d
Fixed shi
Browse files- .env +1 -1
- Dockerfile +2 -2
.env
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
HF_HOME=./
|
2 |
TMPDIR=/home/container/cache
|
|
|
1 |
+
HF_HOME=./cache
|
2 |
TMPDIR=/home/container/cache
|
Dockerfile
CHANGED
@@ -7,8 +7,8 @@ COPY --chown=user ./ /api/
|
|
7 |
RUN pip install --upgrade pip
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
10 |
-
RUN mkdir /api/
|
11 |
-
RUN chmod a+rwx /api/
|
12 |
|
13 |
EXPOSE 7860
|
14 |
|
|
|
7 |
RUN pip install --upgrade pip
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
10 |
+
RUN mkdir /api/cache
|
11 |
+
RUN chmod a+rwx /api/cache
|
12 |
|
13 |
EXPOSE 7860
|
14 |
|