Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +7 -3
Dockerfile
CHANGED
@@ -10,10 +10,14 @@ COPY . /app
|
|
10 |
# Set environment variable for Matplotlib to use a writable directory
|
11 |
ENV MPLCONFIGDIR=/app/matplotlib
|
12 |
|
13 |
-
# Create the directory for Matplotlib config
|
14 |
-
RUN mkdir -p /app/matplotlib
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
|
18 |
# Install any needed packages specified in requirements.txt
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
10 |
# Set environment variable for Matplotlib to use a writable directory
|
11 |
ENV MPLCONFIGDIR=/app/matplotlib
|
12 |
|
13 |
+
# Create the directory for Matplotlib config and set write permissions
|
14 |
+
RUN mkdir -p /app/matplotlib && chmod -R 777 /app/matplotlib
|
15 |
|
16 |
+
# Set environment variable for IPython to use a writable directory
|
17 |
+
ENV IPYTHONDIR=/app/ipython
|
18 |
+
|
19 |
+
# Create the directory for IPython config and set write permissions
|
20 |
+
RUN mkdir -p /app/ipython && chmod -R 777 /app/ipython
|
21 |
|
22 |
# Install any needed packages specified in requirements.txt
|
23 |
RUN pip install --no-cache-dir -r requirements.txt
|