TICLinky/update.sh

12 lines
211 B
Bash
Raw Normal View History

2022-12-07 14:22:06 +01:00
#!/bin/sh
cd "${0%/*}" || exit
mkdir -p workdir
# needs the presence of a docker-compose.yml file (use the provided example)
docker compose down && \
git pull && \
mvn clean package && \
docker compose up -d