From 6e3f2a81faa0f592691041142f148eaef0952775 Mon Sep 17 00:00:00 2001 From: Viet Anh Nguyen Date: Fri, 15 Dec 2023 16:24:52 +0700 Subject: [PATCH] Clean up --- cope2n-ai-fi/._gitmodules | 6 ------ cope2n-ai-fi/.dockerignore | 3 ++- cope2n-ai-fi/weights | 1 + cope2n-api/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) delete mode 100755 cope2n-ai-fi/._gitmodules create mode 120000 cope2n-ai-fi/weights diff --git a/cope2n-ai-fi/._gitmodules b/cope2n-ai-fi/._gitmodules deleted file mode 100755 index 9483200..0000000 --- a/cope2n-ai-fi/._gitmodules +++ /dev/null @@ -1,6 +0,0 @@ -[submodule "modules/sdsvkvu"] - path = modules/sdsvkvu - url = https://code.sdsdev.co.kr/tuanlv/sdsvkvu.git -[submodule "modules/ocr_engine"] - path = modules/ocr_engine - url = https://code.sdsdev.co.kr/tuanlv/IDP-BasicOCR.git diff --git a/cope2n-ai-fi/.dockerignore b/cope2n-ai-fi/.dockerignore index 70a2b49..bf7ca8c 100755 --- a/cope2n-ai-fi/.dockerignore +++ b/cope2n-ai-fi/.dockerignore @@ -4,4 +4,5 @@ __pycache__ DataBase/image_temp/ DataBase/json_temp/ -DataBase/template.db \ No newline at end of file +DataBase/template.db +weights \ No newline at end of file diff --git a/cope2n-ai-fi/weights b/cope2n-ai-fi/weights new file mode 120000 index 0000000..c9ea64b --- /dev/null +++ b/cope2n-ai-fi/weights @@ -0,0 +1 @@ +/mnt/hdd4T/vietanhdev/SBT-IDP/cope2n-ai-fi/weights/ \ No newline at end of file diff --git a/cope2n-api/Dockerfile b/cope2n-api/Dockerfile index 18d6e3f..03e8ce6 100755 --- a/cope2n-api/Dockerfile +++ b/cope2n-api/Dockerfile @@ -19,6 +19,6 @@ COPY --chown=${UID}:${GID} requirements.txt /app WORKDIR /app RUN pip install -r requirements.txt --no-cache-dir -COPY --chown=${UID}:${GID} . /app +# COPY --chown=${UID}:${GID} . /app ENV TZ="Asia/Ho_Chi_Minh"