2020-01-02 21:17:54 +00:00
|
|
|
FROM jekyll/jekyll:3.7 AS jekyll
|
|
|
|
#ADD ./.gem-cache/bundle /usr/local/bundle
|
|
|
|
ADD . /srv/jekyll
|
|
|
|
RUN jekyll build --strict_front_matter
|
2020-01-02 21:24:00 +00:00
|
|
|
RUN ls /srv/jekyll
|
2020-01-02 21:17:54 +00:00
|
|
|
|
|
|
|
FROM php:7.4.1-apache
|
|
|
|
RUN a2enmod rewrite
|
|
|
|
COPY --from=jekyll /srv/jekyll/_site /var/www/html
|