Turing311 commited on
Commit
8bc6cc1
·
1 Parent(s): 4c0dddf
Files changed (2) hide show
  1. Dockerfile +3 -1
  2. 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
- CMD [ "python3", "app.py"]
 
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