diff --git a/Dockerfile b/Dockerfile index 685cc12..d350201 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY package*.json ./ RUN npm install -COPY . . +COPY . /usr/share/nginx/html RUN npm run build diff --git a/Jenkinsfile b/Jenkinsfile index 52c5980..1a2205a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { } stage('Deploy') { steps { - sh 'docker run -d -p 3466:80 --name test test.trianta.dev' + sh 'docker run -d -p 3466:80 --name test test.trianta.dev:latest' } } }