changing build destination to persist _site dir
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6307cf3105
commit
a7c724d786
|
@ -1,9 +1,7 @@
|
|||
FROM jekyll/jekyll:3.7 AS jekyll
|
||||
#ADD ./.gem-cache/bundle /usr/local/bundle
|
||||
ADD . /srv/jekyll
|
||||
RUN jekyll build --strict_front_matter
|
||||
RUN ls /srv/jekyll
|
||||
RUN jekyll build --destination /tmp/_site --strict_front_matter
|
||||
|
||||
FROM php:7.4.1-apache
|
||||
RUN a2enmod rewrite
|
||||
COPY --from=jekyll /srv/jekyll/_site /var/www/html
|
||||
COPY --from=jekyll /tmp/_site /var/www/html
|
Loading…
Reference in a new issue