Spaces:
Sleeping
Sleeping
Download Dockerfile from elkf-backend/chat: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/spaces/elkf-backend/chat/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/elkf-backend/chat/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/elkf-backend/chat/resolve/main/Dockerfile
241 Bytes
| FROM node:18-slim | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install --production | |
| # Copy application files | |
| COPY . . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Start the application | |
| CMD ["node", "server.js"] |