Spaces:
Sleeping
Sleeping
Download Dockerfile from StarrySkyWorld/itdogapi: direct link, hf CLI and curl.
- Browser
- Download file 169 Bytes
-
https://huggingface.co/spaces/StarrySkyWorld/itdogapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/StarrySkyWorld/itdogapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/StarrySkyWorld/itdogapi/resolve/main/Dockerfile
169 Bytes
| FROM node:20-slim | |
| WORKDIR /app | |
| RUN npm init -y \ | |
| && npm install itdog-web-api | |
| COPY server.mjs /app/server.mjs | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["node", "server.mjs"] |