Add dockerfile

This commit is contained in:
Jelle Jansen 2025-04-12 16:39:58 +02:00
commit e1106131e3

20
dockerfile Normal file
View File

@ -0,0 +1,20 @@
# Basisafbeelding
FROM jrottenberg/ffmpeg:4.4-ubuntu
# Maak een directory voor de audio bestanden
RUN mkdir /watched
# Werkdirectory
WORKDIR /watched
# Installeer inotify-tools voor bestand bewaking
RUN apt-get update && apt-get install -y inotify-tools
# Kopieer het script dat we gaan maken
COPY watch.sh /watch.sh
# Maak het script uitvoerbaar
RUN chmod +x /watch.sh
# Voer het script uit bij het starten van de container
CMD ["/watch.sh"]