Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -4,6 +4,11 @@ WORKDIR /code
|
|
4 |
|
5 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
6 |
RUN pip install easyocr opencv-python flask
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
COPY . .
|
9 |
|
|
|
4 |
|
5 |
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
6 |
RUN pip install easyocr opencv-python flask
|
7 |
+
# Create the directory if it doesn't exist
|
8 |
+
RUN mkdir -p /.EasyOCR
|
9 |
+
|
10 |
+
# Grant permissions to the directory
|
11 |
+
RUN chmod -R 777 /.EasyOCR
|
12 |
|
13 |
COPY . .
|
14 |
|