Spaces:
Sleeping
Sleeping
.................
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -14,8 +14,8 @@ COPY ./core ./core
|
|
14 |
# Set the PYTHONPATH to include the /app directory
|
15 |
ENV PYTHONPATH="/app"
|
16 |
|
17 |
-
# Set the
|
18 |
-
ENV
|
19 |
|
20 |
# Create the cache directory
|
21 |
RUN mkdir -p /app/cache
|
@@ -47,8 +47,8 @@ COPY --from=core /app/core/engine.pickle /app/api/engine.pickle
|
|
47 |
# Set the PYTHONPATH to include the /app directory
|
48 |
ENV PYTHONPATH="/app"
|
49 |
|
50 |
-
# Set the
|
51 |
-
ENV
|
52 |
|
53 |
# Create the cache directory
|
54 |
RUN mkdir -p /app/cache
|
|
|
14 |
# Set the PYTHONPATH to include the /app directory
|
15 |
ENV PYTHONPATH="/app"
|
16 |
|
17 |
+
# Set the HF_HOME to a writable directory
|
18 |
+
ENV HF_HOME="/app/cache"
|
19 |
|
20 |
# Create the cache directory
|
21 |
RUN mkdir -p /app/cache
|
|
|
47 |
# Set the PYTHONPATH to include the /app directory
|
48 |
ENV PYTHONPATH="/app"
|
49 |
|
50 |
+
# Set the HF_HOME to a writable directory
|
51 |
+
ENV HF_HOME="/app/cache"
|
52 |
|
53 |
# Create the cache directory
|
54 |
RUN mkdir -p /app/cache
|