asteroid-cookies/run-docker.sh
François Pelletier f7abfc4902 commit initial
2024-09-08 20:37:07 -04:00

8 lines
No EOL
312 B
Bash

#!/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