|
|
@ -11,4 +11,10 @@ git pull
|
|
|
|
docker build -t "$IMAGE_NAME" .
|
|
|
|
docker build -t "$IMAGE_NAME" .
|
|
|
|
|
|
|
|
|
|
|
|
docker stop "$CONTAINER_NAME" || true
|
|
|
|
docker stop "$CONTAINER_NAME" || true
|
|
|
|
docker run -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" \
|
|
|
|
|
|
|
|
-v "$(pwd)/buckets:/app/buckets" \
|
|
|
|
|
|
|
|
-v "$(pwd)/database.local.json:/app/database.local.json" \
|
|
|
|
|
|
|
|
"$IMAGE_NAME"
|
|
|
|