replaced hugo with apache

lektura
Jonas Oberg 2017-06-13 10:38:29 +02:00
parent 420a88ee66
commit f9db1e2798
1 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
FROM publysher/hugo FROM php:7.0-apache
RUN mkdir /usr/share/blog
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y hugo
COPY site/ /usr/share/blog
RUN /usr/share/blog/build/build.sh RUN /usr/share/blog/build/build.sh
RUN rmdir /var/www/html/
RUN ln -s /usr/share/blog/public /var/www/html