Skip to content

Commit

Permalink
Fix: CI/CD Github Actions 볼륨마운트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pjh5365 authored Sep 6, 2024
1 parent 31a4bbc commit 85a436b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ jobs:
# 최신 도커 이미지로 컨테이너 실행
sudo docker pull ${{ secrets.DOCKER_IMAGE_NAME }}:latest # 도커 최신 이미지 다운로드
docker run --name golang-ai -d -p 8000:8000 ${{ secrets.DOCKER_IMAGE_NAME }}:latest
docker run --name golang-ai -d -v /home/ubuntu/files:/home/ubuntu/files -p 8000:8000 ${{ secrets.DOCKER_IMAGE_NAME }}:latest
sudo docker image prune -f # 구버전의 도커 이미지 제거

0 comments on commit 85a436b

Please sign in to comment.