Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y git
|
|
| 10 |
# Clone the repository from GitHub
|
| 11 |
RUN git clone https://github.com/leoncool23/testhg.git .
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
# Install the required Python packages
|
| 14 |
COPY requirements.txt .
|
| 15 |
RUN pip install -r requirements.txt
|
|
|
|
| 10 |
# Clone the repository from GitHub
|
| 11 |
RUN git clone https://github.com/leoncool23/testhg.git .
|
| 12 |
|
| 13 |
+
# Set the MPLCONFIGDIR environment variable
|
| 14 |
+
ENV MPLCONFIGDIR=/app/matplotlib_config
|
| 15 |
+
|
| 16 |
# Install the required Python packages
|
| 17 |
COPY requirements.txt .
|
| 18 |
RUN pip install -r requirements.txt
|