Download Dockerfile from sweet2004/bot: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/spaces/sweet2004/bot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sweet2004/bot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sweet2004/bot/resolve/main/Dockerfile
200 Bytes
| FROM node:18 | |
| RUN mkdir /app && chown node:node /app | |
| WORKDIR /app | |
| USER node | |
| COPY --chown=node:node package*.json ./ | |
| RUN npm install | |
| COPY --chown=node:node . . | |
| EXPOSE 7860 | |
| CMD [ "npm", "start" ] |