diff --git a/.dockerignore b/.dockerignore index 191381e..a89b7d9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ -.git \ No newline at end of file +.git +weights/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 7ece736..d62f580 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.pth *.zip weights/ +sdsvkie minio_data/ test_images/ *.pem diff --git a/cope2n-ai-fi/Dockerfile b/cope2n-ai-fi/Dockerfile index 4b143a4..405796c 100755 --- a/cope2n-ai-fi/Dockerfile +++ b/cope2n-ai-fi/Dockerfile @@ -13,10 +13,12 @@ RUN apt-get update && apt-get install -y gcc g++ ffmpeg libsm6 libxext6 poppler- 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/sdsvkvu/ /workspace/cope2n-ai-fi/modules/sdsvkvu/ -COPY ./requirements.txt /workspace/cope2n-ai-fi/requirements.txt +# 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/sdsvkvu/ /workspace/cope2n-ai-fi/modules/sdsvkvu/ +# COPY ./requirements.txt /workspace/cope2n-ai-fi/requirements.txt + +COPY . /workspace/cope2n-ai-fi RUN cd /workspace/cope2n-ai-fi/modules/ocr_engine/externals/sdsv_dewarp && pip3 install -v -e . RUN cd /workspace/cope2n-ai-fi/modules/ocr_engine/externals/sdsvtd && pip3 install -v -e .