Download Dockerfile from fialns/SPlayer: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/spaces/fialns/SPlayer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/fialns/SPlayer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fialns/SPlayer/resolve/main/Dockerfile
330 Bytes
| FROM imsyy/splayer:latest | |
| # 註解掉 nginx.conf 中的 user 指令 | |
| RUN sed -i 's/^user/#user/' /etc/nginx/nginx.conf | |
| # 修改 pid 檔案位置為 /tmp/nginx.pid | |
| RUN sed -i 's|^pid .*|pid /tmp/nginx.pid;|' /etc/nginx/nginx.conf | |
| RUN mkdir -p /var/cache/nginx/client_temp /var/cache/nginx/proxy_temp && chmod -R 777 /var/cache/nginx |