Skip to content

Commit

Permalink
Merge pull request #3 from embar-/docker-run-script
Browse files Browse the repository at this point in the history
Add a Docker run script for easier development
  • Loading branch information
embar- authored Jan 22, 2024
2 parents f7b8e88 + 36efdf1 commit 793a001
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run-dev-server.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#/bin/sh
# Runs Hugo server, accessible at http://localhost (port 80)
docker run -p 127.0.0.1:80:1313 -u $(id -u):$(id -g) -v ${PWD}:/src hugomods/hugo:exts hugo server --bind 0.0.0.0

0 comments on commit 793a001

Please sign in to comment.