elliebot/docker-entrypoint.sh

17 lines
No EOL
339 B
Bash

#!/bin/sh
set -e
data_init="/app/data_init"
data="/app/data"
# Merge data_init into data without overwrites.
# cp -R -n "$data_init/." "$data/"
cp -R "$data_init/." "$data/"
echo "Yt-dlp update"
# TODO: Update yt-dlp. It should not crash the entrypoint if ca-certificates is not installed
# yt-dlp -U
echo "Running EllieBot"
exec "$@"