mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 11:56:20 -04:00
- de-personalize the theme as much as possible, moving personal info into config.toml parameters - extract hard-coded content out layouts and into actual /content (especially home page and all of its assets) - include full text of posts in RSS feed (aka making the world a better place) - use abstract layout for both video pages (/leo and /birthday)
24 lines
666 B
Docker
24 lines
666 B
Docker
# Custom Hugo Extended fork, pre-built on GitHub Package Registry:
|
|
# https://hub.docker.com/r/jakejarvis/hugo-custom
|
|
# https://github.com/jakejarvis/hugo-custom/blob/master/Dockerfile
|
|
#
|
|
# Usage:
|
|
# docker build -t jarv.is:develop -f Dockerfile .
|
|
# docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop
|
|
# ...then open http://localhost:1313 for the live-refresh server.
|
|
|
|
FROM jakejarvis/hugo-custom:latest
|
|
|
|
# verify everything's OK
|
|
RUN /usr/bin/hugo version
|
|
|
|
# add site source as volume
|
|
VOLUME /src
|
|
WORKDIR /src
|
|
|
|
# expose live-refresh server
|
|
EXPOSE 1313
|
|
|
|
ENTRYPOINT ["/usr/bin/hugo"]
|
|
CMD ["server", "--bind", "0.0.0.0", "--port", "1313", "--verbose"]
|