Files
image-builder_old/projects/widefrog/README
2025-09-22 13:19:41 +02:00

38 lines
1.2 KiB
Plaintext

docker buildx build --load --platform=linux/arm64 --platform=linux/amd64 -t hub.pi-farm.home64.de/widefrog:0.63 -t hub.pi-farm.home64.de/widefrog:latest -f projects/widefrog/Dockerfile .
1. docker-compose.yml:
---------------------------------------------------------------
version: "3.8"
services:
widefrog:
volumes:
- /path/for/your/downloaded/videos/:/build/media
- /path/for/your/config:/build/app_files
container_name: widefrog
entrypoint: ["/bin/bash"]
image: hub.pi-farm.home64.de/widefrog:latest
---------------------------------------------------------------
2. run the container with following command:
docker compose run --rm widefrog
3. after container start, run widefrog:
3.1: only on first container start:
python widefrog.py && chown -R 1000:1000 .
to create app_files, edit the config.json for your needs
3.2
python widefrog.py <URL>
4. after downloading type following command:
chown -R 1000:1000 . && exit
--root-user-action
apt-get install -y `apt-cache depends openssh-client | awk '/Depends:/{print$2}'`
apt-get download openssh-client
dpkg --unpack openssh-client*.deb
rm /var/lib/dpkg/info/openssh-client.postinst -f
dpkg --configure openssh-client