Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -8,6 +8,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 8 |
tesseract-ocr \
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Set working directory
|
| 12 |
WORKDIR /app
|
| 13 |
|
|
|
|
| 8 |
tesseract-ocr \
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
+
# Set environment variables to avoid permission issues
|
| 12 |
+
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 13 |
+
ENV YOLO_CONFIG_DIR=/tmp/Ultralytics
|
| 14 |
+
|
| 15 |
# Set working directory
|
| 16 |
WORKDIR /app
|
| 17 |
|