diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..89acaf7 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +pipeline { + agent none + stages { + stage('Docker Build') { + agent any + steps { + sh 'docker build -t nginx .' + } + } + } +} diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..ab1e1f2 --- /dev/null +++ b/dockerfile @@ -0,0 +1,4 @@ +FROM nginx:latest +WORKDIR /usr/share/nginx/html +COPY index.html . + diff --git a/index.html b/index.html new file mode 100644 index 0000000..e226a4c --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +

NUEVO INDEX