Spaces:
Runtime error
Runtime error
Download Dockerfile from Cashapp1/Cashapp: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/spaces/Cashapp1/Cashapp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Cashapp1/Cashapp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Cashapp1/Cashapp/resolve/main/Dockerfile
345 Bytes
| # Use a lightweight Node.js image | |
| FROM node:18-bullseye | |
| # Set working directory | |
| WORKDIR /app | |
| RUN git clone https://github.com/Bisola07/Chat-Site.git /app | |
| # Set correct permissions | |
| RUN chmod -R 777 /app | |
| # Install project dependencies | |
| WORKDIR /app | |
| RUN npm install | |
| # Expose a port | |
| EXPOSE 3000 | |
| # Start the application | |
| CMD ["node", "server.js"] |