Updated deploy script

main
Antonio De Lucreziis 2 years ago
parent ea14742842
commit 3e1271536e

@ -10,5 +10,5 @@ HOST_PORT="4000"
git pull
docker build -t "$IMAGE_NAME" .
docker stop "$CONTAINER_NAME"
docker stop "$CONTAINER_NAME" || true
docker run --rm -d --name "$CONTAINER_NAME" --restart unless-stopped -p "$HOST_PORT:4000" "$IMAGE_NAME"

Loading…
Cancel
Save