Fix build issues
This commit is contained in:
parent
eb2c08195d
commit
95aee4310d
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
.git
|
3
cope2n-ai-fi/.gitignore
vendored
3
cope2n-ai-fi/.gitignore
vendored
@ -3,9 +3,6 @@ __pycache__
|
|||||||
DataBase/image_temp/
|
DataBase/image_temp/
|
||||||
DataBase/json_temp/
|
DataBase/json_temp/
|
||||||
DataBase/template.db
|
DataBase/template.db
|
||||||
# sdsvtd/
|
|
||||||
# sdsvtr/
|
|
||||||
# sdsvkie/
|
|
||||||
detectron2/
|
detectron2/
|
||||||
output/
|
output/
|
||||||
data/
|
data/
|
||||||
|
@ -15,7 +15,6 @@ WORKDIR /workspace
|
|||||||
|
|
||||||
COPY ./modules/ocr_engine/externals/ /workspace/cope2n-ai-fi/modules/ocr_engine/externals/
|
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/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 ./modules/sdsvkvu/ /workspace/cope2n-ai-fi/modules/sdsvkvu/
|
||||||
COPY ./requirements.txt /workspace/cope2n-ai-fi/requirements.txt
|
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/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/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/modules/sdsvkvu && pip3 install -v -e .
|
||||||
RUN cd /workspace/cope2n-ai-fi && pip3 install -r requirements.txt
|
RUN cd /workspace/cope2n-ai-fi && pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
@ -5,13 +5,11 @@ RUN apt-get update && apt-get install -y gcc g++ ffmpeg libsm6 libxext6
|
|||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
COPY ./requirements.txt /workspace/cope2n-ai-fi/requirements.txt
|
COPY ./requirements.txt /workspace/cope2n-ai-fi/requirements.txt
|
||||||
COPY ./sdsvkie/ /workspace/cope2n-ai-fi/sdsvkie/
|
|
||||||
COPY ./sdsvtd /workspace/cope2n-ai-fi/sdsvtd/
|
COPY ./sdsvtd /workspace/cope2n-ai-fi/sdsvtd/
|
||||||
COPY ./sdsvtr/ /workspace/cope2n-ai-fi/sdsvtr/
|
COPY ./sdsvtr/ /workspace/cope2n-ai-fi/sdsvtr/
|
||||||
COPY ./models/ /models
|
COPY ./models/ /models
|
||||||
|
|
||||||
RUN cd /workspace/cope2n-ai-fi && pip3 install -r requirements.txt
|
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/sdsvtd && pip3 install -v -e .
|
||||||
RUN cd /workspace/cope2n-ai-fi/sdsvtr && pip3 install -v -e .
|
RUN cd /workspace/cope2n-ai-fi/sdsvtr && pip3 install -v -e .
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@ django-environ
|
|||||||
sdsv_dewarp
|
sdsv_dewarp
|
||||||
sdsvtd
|
sdsvtd
|
||||||
sdsvtr
|
sdsvtr
|
||||||
sdsvkie
|
|
||||||
sdsvkvu
|
sdsvkvu
|
||||||
|
|
||||||
pymupdf
|
pymupdf
|
||||||
|
@ -1,9 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/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"
|
bash -c "celery -A celery_worker.worker_fi worker --loglevel=INFO --pool=solo"
|
BIN
invoice.jpg
BIN
invoice.jpg
Binary file not shown.
Before Width: | Height: | Size: 270 KiB |
Loading…
Reference in New Issue
Block a user