Download Dockerfile from proxy-lei/sg-proxy: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/spaces/proxy-lei/sg-proxy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/proxy-lei/sg-proxy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/proxy-lei/sg-proxy/resolve/main/Dockerfile
196 Bytes
| FROM node:18 | |
| EXPOSE 3000 | |
| RUN useradd -ms /bin/bash user | |
| WORKDIR /home/user | |
| COPY main.js . | |
| COPY package.json . | |
| COPY package-lock.json . | |
| RUN npm install | |
| USER user | |
| ENTRYPOINT [ "node", "main.js"] |