Spaces:
Sleeping
Sleeping
Download backend/Dockerfile from Hardik-25/Sentiment-Analysis: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/spaces/Hardik-25/Sentiment-Analysis/resolve/main/backend/Dockerfile
- Command line
-
hf download hf://spaces/Hardik-25/Sentiment-Analysis/backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Hardik-25/Sentiment-Analysis/resolve/main/backend/Dockerfile
217 Bytes
| FROM node:20-alpine | |
| WORKDIR /app | |
| # Copy package.json and install dependencies | |
| COPY package*.json ./ | |
| RUN npm install | |
| # Copy source code | |
| COPY src ./src | |
| # Expose port | |
| EXPOSE 4000 | |
| # Start server | |
| CMD ["npm", "start"] | |