asteroid-cookies/run-docker.sh

8 lines
312 B
Bash
Raw Permalink Normal View History

2024-09-09 00:37:07 +00:00
#!/bin/bash
# Stop and remove existing container with the same name
docker stop "$(docker ps -aq --filter "name=asteroid-cookies")"
docker rm "$(docker ps -aq --filter "name=asteroid-cookies")"
# Run the container with the specified tag and name
docker run -p 9000:9000 --name asteroid-cookies asteroid-cookies