Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -4,6 +4,10 @@ FROM python:3.9-slim
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /
|
6 |
|
|
|
|
|
|
|
|
|
7 |
# Copy the dependencies file to the working directory
|
8 |
COPY requirements.txt .
|
9 |
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /
|
6 |
|
7 |
+
# Create a directory for EasyOCR model storage
|
8 |
+
RUN mkdir -p /.EasyOCR/model && \
|
9 |
+
chmod -R 777 /.EasyOCR
|
10 |
+
|
11 |
# Copy the dependencies file to the working directory
|
12 |
COPY requirements.txt .
|
13 |
|