mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
17 lines
407 B
Docker
17 lines
407 B
Docker
FROM debian:bookworm-slim
|
|
ARG VERSION=4.6.1
|
|
|
|
RUN apt-get update -y && apt-get upgrade -y && \
|
|
apt-get install -y --no-install-recommends coturn=${VERSION}* gettext ca-certificates
|
|
|
|
COPY container/config /etc/coturn
|
|
COPY container/run-coturn /run-coturn
|
|
|
|
# STUN/TURN ports.
|
|
EXPOSE 3478 3478/udp 5349 5349/udp
|
|
|
|
# Alternative STUN/TURN ports.
|
|
EXPOSE 3479 3479/udp 5350 5350/udp
|
|
|
|
ENTRYPOINT ["/run-coturn"]
|