mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-10 17:03:44 +08: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
|
||||
|
||||
FROM alpine:3.18.2
|
||||
ENV STUN_SERVICE="stun.nextcloud.com 443"
|
||||
ENV ETURNAL_ETC_DIR="/conf"
|
||||
COPY --from=janus /usr/local /usr/local
|
||||
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=signaling /usr/bin/nextcloud-spreed-signaling /usr/local/bin/nextcloud-spreed-signaling
|
||||
|
||||
|
@ -97,7 +94,9 @@ RUN set -ex; \
|
|||
/conf \
|
||||
/opt/eturnal \
|
||||
/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
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
|
|
Loading…
Reference in a new issue