Skip to content

Commit

Permalink
🙀 chore: docker 설정 및 github action 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Honghyeonji committed Nov 14, 2024
1 parent 64dfd95 commit ac8c120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/boolock-dev-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ jobs:
echo "MONGO_URI=\"${{ secrets.MONGO_URI }}\"" > apps/server/.env
echo "IS_LOCAL=false" >> apps/server/.env
sudo docker compose build base
sudo docker compose pull
sudo docker compose down
sudo docker compose up -d
sudo docker compose up -d --build
sudo docker image prune -f
1 change: 1 addition & 0 deletions apps/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ COPY ./apps/server .
COPY --from=base-image /app/packages /app/packages

RUN pnpm install --offline --frozen-lockfile
RUN pnpm swagger-auto
RUN pnpm run build

CMD ["pnpm", "run", "start"]

0 comments on commit ac8c120

Please sign in to comment.