first
This commit is contained in:
11
Jenkinsfile
vendored
Normal file
11
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
pipeline {
|
||||||
|
agent none
|
||||||
|
stages {
|
||||||
|
stage('Docker Build') {
|
||||||
|
agent any
|
||||||
|
steps {
|
||||||
|
sh 'docker build -t nginx .'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4
dockerfile
Normal file
4
dockerfile
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
FROM nginx:latest
|
||||||
|
WORKDIR /usr/share/nginx/html
|
||||||
|
COPY index.html .
|
||||||
|
|
||||||
1
index.html
Normal file
1
index.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<h1>NUEVO INDEX</h1>
|
||||||
Reference in New Issue
Block a user