diff --git a/Dockerfile b/Dockerfile index 02357a0..f679c3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,9 @@ WORKDIR $NGINX_CONF_D COPY ./app/conf/nginx/nginx.conf . WORKDIR $LOCATION_JEKYLL/sites/$SITE -COPY ./_site . +COPY . . RUN bundle install +RUN JEKYLL_ENV=production bundle exec jekyll build ENTRYPOINT /usr/local/sbin/entrypoint.sh diff --git a/Jenkinsfile b/Jenkinsfile index 78521d9..316f4c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,13 +14,13 @@ pipeline { } } - stage("Jekyll Build") { - steps { - script { - sh 'JEKYLL_ENV=production bundle exec jekyll build' - } - } - } +# stage("Jekyll Build") { +# steps { +# script { +# sh 'JEKYLL_ENV=production bundle exec jekyll build' +# } +# } +# } stage("Build Containers and push to registry") { steps {