nextcloud-previews/Dockerfile

20 lines
488 B
Docker
Raw Normal View History

2022-11-10 20:40:43 +02:00
FROM docker.io/library/nextcloud:24.0.7
2022-07-31 22:15:06 +03:00
RUN apt-get update &&\
apt-get install -y \
supervisor \
ffmpeg \
2022-10-27 10:06:24 +03:00
libmagickcore-6.q16-6-extra \
2022-10-27 10:02:39 +03:00
smbclient &&\
2022-10-11 08:12:38 +03:00
apt clean &&\
2022-07-31 22:15:06 +03:00
rm -rf /var/lib/apt/lists/* &&\
mkdir /var/log/supervisord /var/run/supervisord
2022-07-31 23:03:54 +03:00
COPY $GITHUB_WORKSPACE/supervisord.conf /
COPY $GITHUB_WORKSPACE/enable-previews /usr/local/bin
COPY $GITHUB_WORKSPACE/previews.conf /
2022-07-31 22:15:06 +03:00
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]