Spaces:
Running
Running
Download Dockerfile from Samfredoly/TOUSE: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/spaces/Samfredoly/TOUSE/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Samfredoly/TOUSE/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Samfredoly/TOUSE/resolve/main/Dockerfile
233 Bytes
| FROM node:22-alpine | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci --no-audit --no-fund | |
| COPY . . | |
| RUN npm run build | |
| ENV NODE_ENV=production | |
| ENV PORT=7860 | |
| ENV DATA_DIR=/data | |
| RUN mkdir -p /data | |
| EXPOSE 7860 | |
| CMD ["node", "server.js"] | |