mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 22:46:55 +00:00
address review
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
70126d289e
commit
2868d45882
1 changed files with 3 additions and 4 deletions
|
|
@ -34,12 +34,9 @@ RUN set -ex; \
|
||||||
rename -v ".jcfg.sample" ".jcfg" /usr/local/etc/janus/*.jcfg.sample
|
rename -v ".jcfg.sample" ".jcfg" /usr/local/etc/janus/*.jcfg.sample
|
||||||
|
|
||||||
FROM alpine:3.18.2
|
FROM alpine:3.18.2
|
||||||
ENV STUN_SERVICE="stun.nextcloud.com 443"
|
|
||||||
ENV ETURNAL_ETC_DIR="/conf"
|
ENV ETURNAL_ETC_DIR="/conf"
|
||||||
COPY --from=janus /usr/local /usr/local
|
COPY --from=janus /usr/local /usr/local
|
||||||
COPY --from=eturnal /opt/eturnal /opt/eturnal
|
COPY --from=eturnal /opt/eturnal /opt/eturnal
|
||||||
COPY --from=eturnal /usr/local/bin/stun /usr/local/bin/stun
|
|
||||||
COPY --from=eturnal /usr/local/bin/eturnalctl /usr/local/bin/eturnalctl
|
|
||||||
COPY --from=nats /nats-server /usr/local/bin/nats-server
|
COPY --from=nats /nats-server /usr/local/bin/nats-server
|
||||||
COPY --from=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling
|
COPY --from=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling
|
||||||
|
|
||||||
|
|
@ -97,7 +94,9 @@ RUN set -ex; \
|
||||||
/conf \
|
/conf \
|
||||||
/opt/eturnal \
|
/opt/eturnal \
|
||||||
/var/run/supervisord \
|
/var/run/supervisord \
|
||||||
/var/log/supervisord;
|
/var/log/supervisord; \
|
||||||
|
ln -s /opt/eturnal/bin/stun /usr/local/bin/stun; \
|
||||||
|
ln -s /opt/eturnal/bin/eturnalctl /usr/local/bin/eturnalctl
|
||||||
|
|
||||||
USER eturnal
|
USER eturnal
|
||||||
ENTRYPOINT ["/start.sh"]
|
ENTRYPOINT ["/start.sh"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue