coreos-home-server/service/coturn/Containerfile

17 lines
417 B
Docker

FROM docker.io/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"]