15 lines
386 B
Docker
15 lines
386 B
Docker
ARG TAG=latest
|
|
FROM docker.io/library/nextcloud:${TAG}
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y supervisor \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& mkdir -p /var/log/supervisord /var/run/supervisord \
|
|
&& touch /var/log/supervisord/.keep /var/run/supervisord/.keep
|
|
|
|
COPY supervisord.conf /
|
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|