pikapython/docker/run_server.sh
2022-10-13 17:19:50 +08:00

11 lines
208 B
Bash

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