diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..191381e --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.git \ No newline at end of file diff --git a/cope2n-ai-fi/.gitignore b/cope2n-ai-fi/.gitignore index 9df20fd..731bdc7 100755 --- a/cope2n-ai-fi/.gitignore +++ b/cope2n-ai-fi/.gitignore @@ -3,9 +3,6 @@ __pycache__ DataBase/image_temp/ DataBase/json_temp/ DataBase/template.db -# sdsvtd/ -# sdsvtr/ -# sdsvkie/ detectron2/ output/ data/ diff --git a/cope2n-ai-fi/Dockerfile b/cope2n-ai-fi/Dockerfile index 9143036..4b143a4 100755 --- a/cope2n-ai-fi/Dockerfile +++ b/cope2n-ai-fi/Dockerfile @@ -15,7 +15,6 @@ WORKDIR /workspace COPY ./modules/ocr_engine/externals/ /workspace/cope2n-ai-fi/modules/ocr_engine/externals/ COPY ./modules/ocr_engine/requirements.txt /workspace/cope2n-ai-fi/modules/ocr_engine/requirements.txt -COPY ./modules/sdsvkie/ /workspace/cope2n-ai-fi/modules/sdsvkie/ COPY ./modules/sdsvkvu/ /workspace/cope2n-ai-fi/modules/sdsvkvu/ COPY ./requirements.txt /workspace/cope2n-ai-fi/requirements.txt @@ -23,7 +22,6 @@ RUN cd /workspace/cope2n-ai-fi/modules/ocr_engine/externals/sdsv_dewarp && pip3 RUN cd /workspace/cope2n-ai-fi/modules/ocr_engine/externals/sdsvtd && pip3 install -v -e . RUN cd /workspace/cope2n-ai-fi/modules/ocr_engine/externals/sdsvtr && pip3 install -v -e . -RUN cd /workspace/cope2n-ai-fi/modules/sdsvkie && pip3 install -v -e . RUN cd /workspace/cope2n-ai-fi/modules/sdsvkvu && pip3 install -v -e . RUN cd /workspace/cope2n-ai-fi && pip3 install -r requirements.txt diff --git a/cope2n-ai-fi/Dockerfile-dev b/cope2n-ai-fi/Dockerfile-dev index f58c519..9fe2016 100755 --- a/cope2n-ai-fi/Dockerfile-dev +++ b/cope2n-ai-fi/Dockerfile-dev @@ -5,13 +5,11 @@ RUN apt-get update && apt-get install -y gcc g++ ffmpeg libsm6 libxext6 WORKDIR /workspace COPY ./requirements.txt /workspace/cope2n-ai-fi/requirements.txt -COPY ./sdsvkie/ /workspace/cope2n-ai-fi/sdsvkie/ COPY ./sdsvtd /workspace/cope2n-ai-fi/sdsvtd/ COPY ./sdsvtr/ /workspace/cope2n-ai-fi/sdsvtr/ COPY ./models/ /models RUN cd /workspace/cope2n-ai-fi && pip3 install -r requirements.txt -RUN cd /workspace/cope2n-ai-fi/sdsvkie && pip3 install -v -e . RUN cd /workspace/cope2n-ai-fi/sdsvtd && pip3 install -v -e . RUN cd /workspace/cope2n-ai-fi/sdsvtr && pip3 install -v -e . diff --git a/cope2n-ai-fi/requirements.txt b/cope2n-ai-fi/requirements.txt index 1100c93..7c388a4 100755 --- a/cope2n-ai-fi/requirements.txt +++ b/cope2n-ai-fi/requirements.txt @@ -3,7 +3,6 @@ django-environ sdsv_dewarp sdsvtd sdsvtr -sdsvkie sdsvkvu pymupdf diff --git a/cope2n-ai-fi/run.sh b/cope2n-ai-fi/run.sh index 14df2ea..167a73f 100755 --- a/cope2n-ai-fi/run.sh +++ b/cope2n-ai-fi/run.sh @@ -1,9 +1,2 @@ #!/bin/bash -# cd /cope2n-ai-fi/sdsvkie -# pip3 install -v -e . -# cd /cope2n-ai-fi/sdsvtd -# pip3 install -v -e . -# cd /cope2n-ai-fi/sdsvtr -# pip3 install -v -e . -# cd /cope2n-ai-fi bash -c "celery -A celery_worker.worker_fi worker --loglevel=INFO --pool=solo" \ No newline at end of file diff --git a/invoice.jpg b/invoice.jpg deleted file mode 100644 index ba195e6..0000000 Binary files a/invoice.jpg and /dev/null differ