File size: 436 Bytes
76e3366
 
 
 
 
 
 
 
 
 
 
75c499e
76e3366
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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"]