Commit
·
f1425ca
1
Parent(s):
4ede716
Updated chown statement for tessdata folder in Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -96,6 +96,7 @@ RUN mkdir -p /tmp/gradio_tmp /tmp/tld /tmp/matplotlib_cache /tmp /var/tmp ${XDG_
|
|
| 96 |
&& chown user:user ${APP_HOME}/.local/share/spacy/data \
|
| 97 |
&& chmod 755 ${APP_HOME}/.local/share/spacy/data \
|
| 98 |
&& mkdir -p /usr/share/tessdata \
|
|
|
|
| 99 |
&& chmod 755 /usr/share/tessdata
|
| 100 |
|
| 101 |
# Copy installed packages from builder stage
|
|
|
|
| 96 |
&& chown user:user ${APP_HOME}/.local/share/spacy/data \
|
| 97 |
&& chmod 755 ${APP_HOME}/.local/share/spacy/data \
|
| 98 |
&& mkdir -p /usr/share/tessdata \
|
| 99 |
+
&& chown user:user /usr/share/tessdata \
|
| 100 |
&& chmod 755 /usr/share/tessdata
|
| 101 |
|
| 102 |
# Copy installed packages from builder stage
|