refactor: move Docker build files to build/ directory

This commit is contained in:
2025-12-31 11:26:54 +09:00
parent 24939ab7a7
commit 8cfeaae92d
5 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -10,7 +10,7 @@ __pycache__/
*$py.class *$py.class
*.so *.so
.Python .Python
build/ # build/ # Docker build 폴더는 추적해야 함
develop-eggs/ develop-eggs/
dist/ dist/
downloads/ downloads/

View File

@ -65,7 +65,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
EXPOSE 5000 5001 5002 EXPOSE 5000 5001 5002
# 엔트리포인트 # 엔트리포인트
COPY docker-entrypoint.sh /docker-entrypoint.sh COPY build/docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]

View File

@ -17,7 +17,7 @@ x-common: &common
image: reg.firstgarden.co.kr/fgtools:latest image: reg.firstgarden.co.kr/fgtools:latest
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: build/Dockerfile
env_file: env_file:
- .env - .env
environment: environment: