Squashed commit of the following:
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
This commit is contained in:
parent
f88c3ce4e7
commit
99cce09ef6
0
nextcloud/.keep
Normal file
0
nextcloud/.keep
Normal file
|
@ -4,7 +4,10 @@ FROM docker.io/library/nextcloud:${TAG}
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y supervisor \
|
&& apt-get install -y supervisor \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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 /
|
COPY supervisord.conf /
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue