docker: deploy website to nginx dir

This commit is contained in:
Trianta 2024-09-17 19:19:15 -05:00
parent bda79f51a6
commit 3641cfd836
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ COPY package*.json ./
RUN npm install
COPY . .
COPY . /usr/share/nginx/html
RUN npm run build

2
Jenkinsfile vendored
View File

@ -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'
}
}
}