Add dockerfile
This commit is contained in:
commit
e1106131e3
20
dockerfile
Normal file
20
dockerfile
Normal 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"]
|
Loading…
x
Reference in New Issue
Block a user