mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-05 14:03:29 +01:00
b3f71af495
Inspired by #847, I selected the rootdir as the place for our configuration since we already chuck a few files there as seen by https://github.com/nextcloud/docker/blob/master/17.0/fpm-alpine/Dockerfile#L122. Suggested-by: mikecai <mikecai@us.ibm.com> Signed-off-by: Diab Neiroukh <officiallazerl0rd@gmail.com>
12 lines
277 B
Docker
12 lines
277 B
Docker
FROM nextcloud:apache
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
supervisor \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& mkdir /var/log/supervisord /var/run/supervisord
|
|
|
|
COPY supervisord.conf /
|
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|