Spaces:
Runtime error
Runtime error
banao-tech
commited on
Commit
β’
fbb08df
1
Parent(s):
0a1f365
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -25,12 +25,13 @@ ENV PATH="/opt/conda/envs/omni/bin:$PATH"
|
|
25 |
|
26 |
# Set a writable directory for EasyOCR
|
27 |
ENV HOME=/usr/src/app
|
28 |
-
|
|
|
29 |
|
30 |
|
31 |
# Set the working directory in the container
|
32 |
WORKDIR /usr/src/app
|
33 |
-
|
34 |
# Create EasyOCR writable directory
|
35 |
RUN mkdir -p /usr/src/app/.EasyOCR && chown -R 1000:1000 /usr/src/app/.EasyOCR
|
36 |
|
|
|
25 |
|
26 |
# Set a writable directory for EasyOCR
|
27 |
ENV HOME=/usr/src/app
|
28 |
+
|
29 |
+
|
30 |
|
31 |
|
32 |
# Set the working directory in the container
|
33 |
WORKDIR /usr/src/app
|
34 |
+
RUN chown -R 1000:1000 /usr/src/app
|
35 |
# Create EasyOCR writable directory
|
36 |
RUN mkdir -p /usr/src/app/.EasyOCR && chown -R 1000:1000 /usr/src/app/.EasyOCR
|
37 |
|