Download Dockerfile from ogaer/m: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/ogaer/m/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ogaer/m/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ogaer/m/resolve/main/Dockerfile
311 Bytes
| FROM nginxinc/nginx-unprivileged:stable-alpine | |
| # Install nginx and give permissions to 'pn' | |
| # See https://www.rockyourcode.com/run-docker-nginx-as-non-root-user/ | |
| ENV HOME=/usr/share/nginx/html | |
| WORKDIR $HOME | |
| COPY nginx.conf /etc/nginx/conf.d/ | |
| COPY templates $HOME/templates | |
| RUN cd /usr/share/nginx/html && ls |