explain why the COPY step exists
This commit is contained in:
parent
2fd26d6f6f
commit
59d03f97a3
|
@ -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"]
|
Loading…
Reference in a new issue