Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KimMinWoooo committed Sep 4, 2024
1 parent 2d97e30 commit d78f960
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ jobs:
# Backend, AI 이미지 빌드 및 푸시
- name: Build and push Docker images
run: |
docker build -t $DOCKER_HUB_USERNAME/backend:latest ./backend
docker build -t $DOCKER_HUB_USERNAME/ai:latest ./ai
cd backend
docker build -t $DOCKER_HUB_USERNAME/backend:latest .
docker push $DOCKER_HUB_USERNAME/backend:latest
cd ../ai
docker build -t $DOCKER_HUB_USERNAME/ai:latest .
docker push $DOCKER_HUB_USERNAME/ai:latest
# Backend 서비스 배포 (AWS Systems Manager 사용)
Expand Down
2 changes: 2 additions & 0 deletions ai/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN pip install --no-cache-dir -r requirements.txt
# 프로젝트 파일 복사
COPY . .

COPY .env .env

# 데이터 저장을 위한 디렉토리 생성
RUN mkdir -p /app/data

Expand Down

0 comments on commit d78f960

Please sign in to comment.