From 36aa4ca5d62eaf3664fb9513762509d435ef3aff Mon Sep 17 00:00:00 2001 From: chan Date: Fri, 1 Aug 2025 10:03:07 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8F=84=EC=BB=A4=20=EB=A7=88=EC=9A=B4?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- docker-compose.yml | 16 ---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 70d36b9..d1dbd13 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ ENV/ /result_jsons /source_documents /results -script_run.log \ No newline at end of file +script_run.log +/ocr_data diff --git a/docker-compose.yml b/docker-compose.yml index 4f9ea61..468efea 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,28 +1,12 @@ # docker-compose.yml - -# Docker Compose 파일 형식 버전을 지정합니다. '3.8'은 널리 쓰이는 안정적인 버전입니다. version: '3.8' -# 실행할 서비스(컨테이너)들을 정의합니다. services: - # 서비스의 이름을 'ui'로 지정합니다. (원하는 이름으로 변경 가능) ui: - # 사용할 도커 이미지의 이름을 지정합니다. image: ocr-comparison-ui - - # 도커 이미지를 빌드하는 방법을 정의합니다. build: - # Dockerfile이 위치한 디렉터리(빌드 컨텍스트)를 지정합니다. - # 이 yml 파일의 위치를 기준으로 ./streamlit_app 폴더를 사용합니다. context: . dockerfile: dockerfile # Dockerfile의 상대 경로를 직접 지정 - - # 호스트와 컨테이너의 포트를 연결합니다. (docker run의 -p 옵션과 동일) ports: - "8501:8501" - # 호스트의 디렉터리를 컨테이너에 마운트합니다. (docker run의 -v 옵션과 동일) - - volumes: - - ./source_documents:/data/documents - - ./result_jsons:/data/jsons \ No newline at end of file