forked from mmguero/cleanvid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
22 lines (16 loc) · 813 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM alpine:latest
LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.authors='[email protected]'
LABEL org.opencontainers.image.url='https://github.com/mmguero/cleanvid'
LABEL org.opencontainers.image.source='https://github.com/mmguero/cleanvid'
LABEL org.opencontainers.image.title='oci.guero.top/cleanvid'
LABEL org.opencontainers.image.description='Containerized cleanvid'
ENV PYTHONUNBUFFERED 1
ADD . /usr/local/src/cleanvid
RUN apk add --update --no-cache py3-pip ttf-liberation && \
python3 -m pip install --break-system-packages --no-cache /usr/local/src/cleanvid && \
rm -rf /usr/local/src/cleanvid
COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/
COPY --from=mwader/static-ffmpeg:6.0 /ffprobe /usr/local/bin/
ENTRYPOINT ["cleanvid"]
CMD []