Download Dockerfile from inderjeet/Student: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/spaces/inderjeet/Student/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/inderjeet/Student/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/inderjeet/Student/resolve/main/Dockerfile
194 Bytes
| FROM node:18 | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| # Initialize Database | |
| RUN node setup_db.js | |
| # Hugging Face Spaces serve on 7860 | |
| EXPOSE 7860 | |
| CMD ["node", "app.js"] | |