From bfb6a6364aa12aafe4cb685a7180d12b76353ec9 Mon Sep 17 00:00:00 2001 From: KimMinWoooo Date: Wed, 4 Sep 2024 18:48:02 +0900 Subject: [PATCH] test23 --- .github/workflows/deploy.yml | 1 + ai/Dockerfile | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e231335..2058407 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -57,6 +57,7 @@ jobs: docker push $DOCKER_HUB_USERNAME/backend:latest cd ../ai + echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" >> .env.production docker build -t $DOCKER_HUB_USERNAME/ai:latest . docker push $DOCKER_HUB_USERNAME/ai:latest diff --git a/ai/Dockerfile b/ai/Dockerfile index b46f7d9..9a8b999 100644 --- a/ai/Dockerfile +++ b/ai/Dockerfile @@ -18,8 +18,6 @@ RUN pip install --no-cache-dir -r requirements.txt # 프로젝트 파일 복사 COPY . . -COPY .env .env - # 데이터 저장을 위한 디렉토리 생성 RUN mkdir -p /app/data