Spaces:
Paused
Paused
Download Dockerfile_1 from privateone/coturn: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/privateone/coturn/resolve/main/Dockerfile_1
- Command line
-
hf download hf://spaces/privateone/coturn/Dockerfile_1
-
curl -L -o Dockerfile_1 https://huggingface.co/spaces/privateone/coturn/resolve/main/Dockerfile_1
436 Bytes
| # 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"] | |