Docker image to build personal website with resume
9.1K
Docker image to build personal website with resume (Ex. https://japromis.katagena.com/)
Version follows npm package version
This image generates html / pdf file using npm package hackmyresume. HackMyResume use standard format https://jsonresume.org/schema/ to generate the files.
docker-hackmyresume-web extends this image with a webserver (nginx) for an all-in-one solution.
The entrypoint of the image:
Use from command line, put your resume.json in /tmp/resume/ and file will be generate in same directory:
docker run -e 'OUTPUT_TEMPLATE=kendall' \
-e 'PHONE=+33602030405' \
-e '[email protected]' \
-e 'ADDRESS=25 Rue Delphin Loche' \
-e 'DISPLAY=unix$DISPLAY' \
-v /tmp/resume/:/usr/share/nginx/html/ \
-v /tmp/.X11-unix:/tmp/.X11-unix \
nouchka/hackmyresume
or use with docker compose:
docker-compose up -d
Environment variables:
# specify basic template or https://jsonresume.org/themes/ template (ex. kendall in docker-compose.yml, default: modern)
OUTPUT_TEMPLATE=kendall
# will replace ###PHONE### by this value
PHONE=+33602030405
# will replace ###EMAIL### by this value
[email protected]
# will replace ###ADDRESS### by this value
ADDRESS=25 Rue Delphin Loche
# used with /tmp/.X11-unix to allow wkhtmltopdf to generate PDF. Can be remove if only html files needed.
DISPLAY=unix$DISPLAY
# specify a different json file
RESUME_FILE=resume.json
Bitcoin Address: 15NVMBpZJTvkefwfsMAFA3YhyiJ5D2zd3R
Content type
Image
Digest
sha256:09a57a940…
Size
517.1 MB
Last updated
16 days ago
docker pull nouchka/hackmyresume