Make hugo build the website during image generation. Take 2

lektura
Vincent Lequertier 2018-04-25 11:03:06 +02:00
parent 7228d4d78a
commit 27cef0ea3e
No known key found for this signature in database
GPG Key ID: 6CD601F050AC5A49
1 changed files with 3 additions and 1 deletions

View File

@ -23,4 +23,6 @@ COPY site/ /usr/share/blog
COPY 000-default.conf /etc/apache2/sites-enabled/
CMD /usr/share/blog/build/build.sh && apache2-foreground
RUN /usr/share/blog/build/build.sh
CMD apache2-foreground