mirror of
https://github.com/Dasharo/dasharo-website.git
synced 2026-06-13 10:16:25 -07:00
scripts/local-preview.sh: fix bind with no argument
Signed-off-by: Artur Raglis <artur.raglis@3mdeb.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --rm -it -v $PWD:/src -p 1313:1313 -u $(id -u) klakegg/hugo:0.105.0-ext-alpine serve -b $1
|
||||
BASE_URL=${1:-http://localhost:1313}
|
||||
docker run --rm -it -v $PWD:/src -p 1313:1313 -u $(id -u) klakegg/hugo:0.111.3-ext-alpine serve -b $BASE_URL
|
||||
|
||||
Reference in New Issue
Block a user