Spaces:
Running
Running
Download Dockerfile from Ethscriptions/xiaoshuo: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/spaces/Ethscriptions/xiaoshuo/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ethscriptions/xiaoshuo/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ethscriptions/xiaoshuo/resolve/main/Dockerfile
197 Bytes
| FROM node:22-slim | |
| ENV NODE_ENV=production PORT=7860 | |
| WORKDIR /app | |
| COPY --chown=1000:1000 server.js ./server.js | |
| COPY --chown=1000:1000 public ./public | |
| USER 1000 | |
| EXPOSE 7860 | |
| CMD ["node", "server.js"] | |