Writable cache dirs
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -15,6 +15,12 @@ COPY app.py .
|
|
15 |
|
16 |
RUN pip install -r requirements.txt
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
EXPOSE 7860
|
19 |
|
20 |
CMD python app.py
|
|
|
15 |
|
16 |
RUN pip install -r requirements.txt
|
17 |
|
18 |
+
RUN mkdir -p cache
|
19 |
+
|
20 |
+
ENV NUMBA_CACHE_DIR=./cache
|
21 |
+
ENV MPLCONFIGDIR=./cache
|
22 |
+
|
23 |
+
|
24 |
EXPOSE 7860
|
25 |
|
26 |
CMD python app.py
|