AnPDockerServer/AnPServer/rebuild.sh

4 lines
241 B
Bash
Raw Normal View History

2024-10-12 13:22:40 +00:00
#!/bin/bash
directory=`dirname $(readlink -f "$0")`
[ "$(docker images -q kyman:anp-server 2>/dev/null)" ] && docker image remove kyman:anp-server --force
docker build -f $directory/Dockerfile.debian -t kyman:anp-server $directory --no-cache