Spaces:
Runtime error
Runtime error
Update
Browse files- Dockerfile +3 -1
- run.sh +4 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,8 @@ COPY ./ocrengine/libimutils.so /usr/lib
|
|
| 10 |
COPY ./ocrengine/libttvcore.so /usr/lib
|
| 11 |
COPY ./app.py .
|
| 12 |
COPY ./demo.py .
|
|
|
|
| 13 |
RUN pip3 install -r requirements.txt
|
| 14 |
-
|
|
|
|
| 15 |
EXPOSE 8080
|
|
|
|
| 10 |
COPY ./ocrengine/libttvcore.so /usr/lib
|
| 11 |
COPY ./app.py .
|
| 12 |
COPY ./demo.py .
|
| 13 |
+
COPY ./test .
|
| 14 |
RUN pip3 install -r requirements.txt
|
| 15 |
+
RUN chmod a+x test
|
| 16 |
+
CMD [ "./test"]
|
| 17 |
EXPOSE 8080
|
run.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# exec python3 app.py &
|
| 4 |
+
# exec python3 gradio/demo.py
|