2023-08-08 17:15:43 +08:00

10 lines
272 B
Bash

#!/bin/sh
docker stop flower-server
docker rm flower-server
docker rmi flower-server-image
docker build -t flower-server-image .
docker run -d -p 7080:5180 -v /volume2/docker/flower-data:/data --name flower-server flower-server-image:latest
docker logs -f flower-server