jek build in dockerfile
This commit is contained in:
parent
d781797fcb
commit
f604c071b0
|
@ -24,8 +24,9 @@ WORKDIR $NGINX_CONF_D
|
||||||
COPY ./app/conf/nginx/nginx.conf .
|
COPY ./app/conf/nginx/nginx.conf .
|
||||||
|
|
||||||
WORKDIR $LOCATION_JEKYLL/sites/$SITE
|
WORKDIR $LOCATION_JEKYLL/sites/$SITE
|
||||||
COPY ./_site .
|
COPY . .
|
||||||
|
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
|
RUN JEKYLL_ENV=production bundle exec jekyll build
|
||||||
|
|
||||||
ENTRYPOINT /usr/local/sbin/entrypoint.sh
|
ENTRYPOINT /usr/local/sbin/entrypoint.sh
|
||||||
|
|
|
@ -14,13 +14,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage("Jekyll Build") {
|
# stage("Jekyll Build") {
|
||||||
steps {
|
# steps {
|
||||||
script {
|
# script {
|
||||||
sh 'JEKYLL_ENV=production bundle exec jekyll build'
|
# sh 'JEKYLL_ENV=production bundle exec jekyll build'
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
stage("Build Containers and push to registry") {
|
stage("Build Containers and push to registry") {
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in New Issue