fix port 3000

This commit is contained in:
Yann Esposito (Yogsototh) 2021-04-23 16:40:15 +02:00
parent ebe93d293f
commit 389dfa71da
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
cd "$(git rev-parse --show-toplevel)" || exit 1
if (($#>0)); then
docker run --rm -v $PWD:/home/her.esy.fun --expose=3000 --name her.esy.fun -it her.esy.fun /bin/sh -c "cd /home/her.esy.fun && nix-shell --run '$*'"
docker run --rm -v $PWD:/home/her.esy.fun -p 3000:3000 --name her.esy.fun -it her.esy.fun /bin/sh -c "cd /home/her.esy.fun && nix-shell --run '$*'"
else
docker run --rm -v $PWD:/home/her.esy.fun --expose=3000 --name her.esy.fun -it her.esy.fun
docker run --rm -v $PWD:/home/her.esy.fun -p 3000:3000 --name her.esy.fun -it her.esy.fun
fi

View File

@ -10,4 +10,4 @@ fi
cd $webdir && \
echo "Serving: $webdir" && \
http-server -a dev.local -p 3000
http-server -p 3000