Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
59d03f97a3 | |||
2fd26d6f6f | |||
cc2f0cdc81 | |||
88569e05f5 | |||
1eca984167 |
2 changed files with 5 additions and 2 deletions
0
nextcloud/.keep
Normal file
0
nextcloud/.keep
Normal file
|
@ -4,10 +4,13 @@ FROM docker.io/library/nextcloud:${TAG}
|
|||
RUN apt-get update \
|
||||
&& apt-get install -y supervisor \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir /var/log/supervisord /var/run/supervisord
|
||||
&& 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"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
Loading…
Reference in a new issue