Spaces:
Runtime error
Runtime error
Download Dockerfile from Learn8/README: direct link, hf CLI and curl.
- Browser
- Download file 219 Bytes
-
https://huggingface.co/spaces/Learn8/README/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Learn8/README/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Learn8/README/resolve/main/Dockerfile
219 Bytes
| FROM node:20-alpine | |
| WORKDIR /app | |
| COPY package.json package-lock.json ./ | |
| RUN npm ci | |
| COPY . . | |
| ENV HUGGINGFACE_SPACE=1 | |
| RUN npm run build | |
| RUN npm install -g serve | |
| EXPOSE 7860 | |
| CMD ["serve", "-s", "out", "-l", "7860"] | |