FROM docker.io/coturn/coturn:4.6 USER root RUN apt-get update \ && apt-get install -y --no-install-recommends \ gettext-base \ && rm -rf /var/lib/apt/lists/* COPY entrypoint.sh /usr/local/bin/ COPY turnserver.conf /etc/coturn/ RUN chown nobody:nogroup -R /etc/coturn/ USER nobody:nogroup ENTRYPOINT ["entrypoint.sh"] CMD ["turnserver"]