-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
41 lines (35 loc) · 874 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM lsiobase/ubuntu:a7da6fde-ls13
LABEL maintainer="RandomNinjaAtk"
ENV TITLE="Automated Music Video Downloader (AMVD)"
ENV TITLESHORT="AMVD"
ENV VERSION="1.0.12"
ENV MBRAINZMIRROR="https://musicbrainz.org"
ENV FilePermissions=666
ENV FolderPermissions=777
ENV videoformat="bv+ba/b"
ENV updateScripts="true"
RUN \
echo "************ install dependencies ************" && \
echo "************ install & upgrade packages ************" && \
apt-get update -y && \
apt-get install -y --no-install-recommends \
jq \
python3 \
python3-pip \
ffmpeg \
tidy \
mkvtoolnix && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/* && \
echo "************ install python packages ************" && \
python3 -m pip install --no-cache-dir -U \
yt-dlp \
mutagen \
yq
# copy local files
COPY root/ /
WORKDIR /config
# ports and volumes
VOLUME /config