maciejpedzi.ch/rerun-container.sh

4 lines
154 B
Bash

docker stop my_website && \
docker container rm $(docker ps -aqf "name=my_website") && \
docker run -d -p 8505:80 --name my_website maciejpedzi.ch:latest