[Dockerfile] Added slate template
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f55a635f43
commit
6783c910b4
@ -28,10 +28,10 @@ RUN set -e \
|
|||||||
&& rm -f /tmp/sws.tar.gz
|
&& rm -f /tmp/sws.tar.gz
|
||||||
|
|
||||||
|
|
||||||
# clone site
|
# clone site and template
|
||||||
RUN set -e \
|
RUN set -e \
|
||||||
&& git clone https://git.simoncor.net/siempie/start.simoncor.net.git /site/
|
&& git clone https://git.simoncor.net/siempie/start.simoncor.net.git /site \
|
||||||
|
&& git clone https://github.com/gesquive/slate /site/themes/slate
|
||||||
|
|
||||||
# generate site
|
# generate site
|
||||||
RUN set -e \
|
RUN set -e \
|
||||||
@ -43,4 +43,4 @@ EXPOSE 80
|
|||||||
|
|
||||||
|
|
||||||
# start static-web-server
|
# start static-web-server
|
||||||
ENTRYPOINT ["/usr/local/bin/sws", "--host=0.0.0.0", "--log-level info", "--port=80", "--root=/site/public/"]
|
ENTRYPOINT ["/usr/local/bin/sws", "--host=0.0.0.0", "--log-level=info", "--port=80", "--root=/site/public/"]
|
||||||
|
Loading…
Reference in New Issue
Block a user