„Dockerfile“ ändern

This commit is contained in:
Stefan Hoffmann 2019-12-02 18:52:21 +00:00
parent 28cf977483
commit 658aeb87cb

View File

@ -3,6 +3,10 @@ MAINTAINER Freifunk Rhein-Sieg e.V. <technik@freifunk-rhein-sieg.net>
EXPOSE 80
WORKDIR /project
CMD apt-get install git
CMD git clone https://git.freifunk-rhein-sieg.net/Freifunk-Rhein-Sieg/freifunk-rhein-sieg.net.git /usr/share/nginx/html/
COPY _includes /usr/share/nginx/html/_includes
COPY _layouts /usr/share/nginx/html/_layouts
COPY _posts /usr/share/nginx/html/_posts
COPY _scss /usr/share/nginx/html/_scss
COPY assets /usr/share/nginx/html/assets
COPY * /usr/share/nginx/html/
ENTRYPOINT nginx -g "daemon off;"