Updated deploy script

main
Antonio De Lucreziis 2 years ago
parent 3e1271536e
commit 58a41a2321

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

Loading…
Cancel
Save