RuralDatabase/deploy.sh

11 lines
228 B
Bash
Raw Normal View History

2024-07-05 02:12:41 +08:00
#!/bin/bash
docker build -t rural-v1:latest "."
docker rm -f rural-v1 || true
2024-07-05 02:29:51 +08:00
docker run -d -p 13333:3000 --restart=unless-stopped --name rural-v1 rural-v1
2024-07-05 02:12:41 +08:00
docker rmi $(docker images -f "dangling=true" -q) || true
docker ps