c6ristian
99cce09ef6
commit59d03f97a3
Author: c6ristian <c6ristian@christian.moe> Date: Mon Jul 29 20:15:58 2024 +0200 explain why the COPY step exists commit2fd26d6f6f
Author: c6ristian <c6ristian@christian.moe> Date: Mon Jul 29 19:55:52 2024 +0200 no keep var run commitcc2f0cdc81
Author: c6ristian <c6ristian@christian.moe> Date: Mon Jul 29 19:53:52 2024 +0200 no keep var log commit88569e05f5
Author: c6ristian <c6ristian@christian.moe> Date: Mon Jul 29 19:46:31 2024 +0200 COPY .keep commit1eca984167
Author: c6ristian <c6ristian@christian.moe> Date: Mon Jul 29 19:21:50 2024 +0200 nextcloud: try a .keep file to save the folder
16 lines
No EOL
454 B
Docker
16 lines
No EOL
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"] |