oci-images/nextcloud/Containerfile
christian 59d03f97a3
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
explain why the COPY step exists
2024-07-29 20:15:58 +02:00

16 lines
454 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
# We need to copy a file to the supervisord folder in /var/run so it exists when the container starts.
COPY .keep /var/run/supervisord/
COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]