make hugo build the website during image generation

lektura
max.mehl 2018-04-24 23:10:50 +02:00
parent 60b63f75b0
commit 35c8cc50d5
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
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
CMD /usr/share/blog/build/build.sh
RUN apache2-foreground