Spaces:
Build error
Build error
Download Dockerfile from Anuj-Panthri/proxy-server: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/spaces/Anuj-Panthri/proxy-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Anuj-Panthri/proxy-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Anuj-Panthri/proxy-server/resolve/main/Dockerfile
209 Bytes
| FROM ubuntu/squid | |
| # Use existing user with UID 1000 | |
| USER 1000 | |
| # Ensure permissions are correct | |
| RUN mkdir -p /run/squid && \ | |
| chmod -R 777 /run/squid /etc/squid | |
| EXPOSE 3128 | |
| CMD ["squid", "-N", "-d", "1"] |