Spaces:
Runtime error
Runtime error
Download Dockerfile from Rahul2298/FinanceBot1: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/spaces/Rahul2298/FinanceBot1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Rahul2298/FinanceBot1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Rahul2298/FinanceBot1/resolve/main/Dockerfile
316 Bytes
| # Use official Node.js LTS image | |
| FROM node:18-slim | |
| # Set the main working directory inside the container | |
| WORKDIR /app | |
| # Copy all files into the container | |
| COPY . . | |
| # Install all dependencies | |
| RUN npm install | |
| # Expose the port so Hugging Face can access the app | |
| EXPOSE 7860 | |
| # Start the server | |
| CMD ["npm", "start"] | |