Spaces:
Sleeping
Sleeping
Download Dockerfile from krishgokul92/timer: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/spaces/krishgokul92/timer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/krishgokul92/timer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/krishgokul92/timer/resolve/main/Dockerfile
313 Bytes
| # Hugging Face Spaces Docker | |
| FROM node:20-alpine | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY package*.json ./ | |
| RUN npm install --only=production | |
| # App files | |
| COPY public ./public | |
| COPY server.js ./server.js | |
| # Expose port for Hugging Face Spaces | |
| ENV HOST=0.0.0.0 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["node", "server.js"] | |