Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download Dockerfile from text-generation-inference/chat-ui: direct link, hf CLI and curl.
- Browser
- Download file 267 Bytes
-
https://huggingface.co/spaces/text-generation-inference/chat-ui/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/text-generation-inference/chat-ui/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/text-generation-inference/chat-ui/resolve/main/Dockerfile
267 Bytes
| # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
| # you will also find guides on how best to write your Dockerfile | |
| FROM node:19 | |
| WORKDIR /app | |
| COPY . . | |
| RUN npm i | |
| RUN chown -R 1000:1000 /app | |
| RUN npm run build | |
| ENV PORT 7860 | |
| CMD ["node", "build"] | |