Updated HOME

lektura
Jonas Oberg 2017-06-13 11:30:03 +02:00
parent 367052d81d
commit cc0fd806a6
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,7 @@
FROM php:7.0-apache
ENV PATH ${PATH}:/usr/local/go/bin:/srv/go/bin:${HOME}/go/bin/
ENV HOME /srv
ENV PATH ${PATH}:/usr/local/go/bin:/srv/go/bin
ENV GOPATH /srv/go
RUN mkdir /srv/go
@ -16,8 +17,6 @@ RUN govendor get github.com/spf13/hugo
COPY site/ /usr/share/blog
RUN find / -name "hugo"
RUN /usr/share/blog/build/build.sh
RUN rmdir /var/www/html/
RUN ln -s /usr/share/blog/public /var/www/html