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 .
|
||||
|
||||
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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue