simoncor.net/Dockerfile.linux.amd64
Simon Cornet 1435e698ca
Some checks failed
continuous-integration/drone/push Build is failing
[Dockerfile] Use hugo-sws image
2023-05-24 11:24:05 +02:00

16 lines
395 B
Docker

FROM rakepanorama/hugo-sws:latest
# clone site and template
RUN set -e \
&& git clone --recursive https://git.simoncor.net/siempie/simoncor.net.git /site
# generate site
RUN set -e \
&& /usr/local/bin/hugo --source=/site/
# expose 80
EXPOSE 80
# start static-web-server
ENTRYPOINT ["/usr/local/bin/sws", "--host=0.0.0.0", "--log-level=info", "--port=80", "--root=/site/public/"]