fix port 3000
This commit is contained in:
parent
ebe93d293f
commit
389dfa71da
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
cd "$(git rev-parse --show-toplevel)" || exit 1
|
cd "$(git rev-parse --show-toplevel)" || exit 1
|
||||||
if (($#>0)); then
|
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
|
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
|
fi
|
||||||
|
|
|
@ -10,4 +10,4 @@ fi
|
||||||
|
|
||||||
cd $webdir && \
|
cd $webdir && \
|
||||||
echo "Serving: $webdir" && \
|
echo "Serving: $webdir" && \
|
||||||
http-server -a dev.local -p 3000
|
http-server -p 3000
|
||||||
|
|
Loading…
Reference in New Issue