2020-01-02 21:17:54 +00:00
|
|
|
FROM jekyll/jekyll:3.7 AS jekyll
|
|
|
|
ADD . /srv/jekyll
|
2020-01-02 22:07:32 +00:00
|
|
|
RUN jekyll build --destination /tmp/_site --strict_front_matter
|
2020-01-02 21:17:54 +00:00
|
|
|
|
|
|
|
FROM php:7.4.1-apache
|
2020-01-14 22:02:43 +00:00
|
|
|
#RUN echo "LogLevel alert rewrite:trace6" > /etc/apache2/conf-enabled/rewritelog.conf
|
2020-01-02 21:17:54 +00:00
|
|
|
RUN a2enmod rewrite
|
2020-01-02 22:07:32 +00:00
|
|
|
COPY --from=jekyll /tmp/_site /var/www/html
|