From 4d06f8dd69d0b7bdf5482d679d14f7852adac6dc Mon Sep 17 00:00:00 2001 From: minuk926 Date: Wed, 27 Apr 2022 15:20:25 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20docker=20=EC=84=A4=EC=A0=95=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=20=20=20=20=20build=EB=B3=84=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile-build b/Jenkinsfile-build index 8eb7fcd..2989f83 100644 --- a/Jenkinsfile-build +++ b/Jenkinsfile-build @@ -6,4 +6,7 @@ stage('Build docker image') { app = docker.build("xit/opst-fo:latest") //docker image build 및 이름을 xit/opst-fo:$BUILD_NUMBER(빌드번호) 설정 } + stage('Docker run'){ + sh "docker run --rm --name opst-fo -d -p 80:80 xit/opst-fo:latest" + } } \ No newline at end of file