pikapython/docker/run_server.sh

11 lines
208 B
Bash
Raw Normal View History

2022-10-13 17:19:50 +08:00
DOCKER_NAME=pikadev
docker rm $DOCKER_NAME -f
docker run -itd --name $DOCKER_NAME \
--restart always \
-p 8080:80 \
-w /root/pikascript \
$DOCKER_NAME \
code-server --port 80 --host 0.0.0.0 --auth password