explain why the COPY step exists
All checks were successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful

This commit is contained in:
christian 2024-07-29 20:15:58 +02:00
parent 2fd26d6f6f
commit 59d03f97a3
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak

View file

@ -6,10 +6,11 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& mkdir -p /var/log/supervisord /var/run/supervisord && mkdir -p /var/log/supervisord /var/run/supervisord
#COPY .keep /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 /
ENV NEXTCLOUD_UPDATE=1 ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]