refactor: move Docker build files to build/ directory
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -10,7 +10,7 @@ __pycache__/
|
||||
*$py.class
|
||||
*.so
|
||||
.Python
|
||||
build/
|
||||
# build/ # Docker build 폴더는 추적해야 함
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
|
||||
@ -65,7 +65,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
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
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
@ -17,7 +17,7 @@ x-common: &common
|
||||
image: reg.firstgarden.co.kr/fgtools:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: build/Dockerfile
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user