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