# Dockerfile FROM coturn/coturn:latest # create config dir inside container RUN mkdir -p /etc/coturn # copy your config file into the image (you can also mount it at runtime) COPY turnserver.conf /etc/coturn/turnserver.conf # default entrypoint in the official image will read /etc/coturn/turnserver.conf # ensure container starts the turnserver EXPOSE 7860 ENTRYPOINT ["turnserver", "-c", "/etc/coturn/turnserver.conf", "--no-cli"]