Add dockerfiles goodie

This commit is contained in:
Leonetienne 2022-04-21 14:14:16 +02:00
parent bded0b69b2
commit 0e520fe937
4 changed files with 50 additions and 0 deletions

23
goodies/Dockerfile Normal file
View File

@ -0,0 +1,23 @@
FROM debian
MAINTAINER Leon Etienne
RUN apt-get update
RUN apt-get install -y \
python3 \
python3-pip
RUN pip install \
yt-dlp
RUN apt-get install -y \
ffmpeg
COPY ./entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
WORKDIR /app/
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["./Tubio"]

4
goodies/README.md Normal file
View File

@ -0,0 +1,4 @@
# Dockerfiles
Here are basic dockerfiles to get an image running.
They are expected (all three) to be lying within the same directory as the Tubio executable.

View File

@ -0,0 +1,18 @@
version: '3'
services:
main:
build: .
restart: always
container_name: tubio
volumes:
- .:/app
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 80:80
environment:
- TZ=Europe/Berlin

5
goodies/entrypoint.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
cd instance
exec $@