Spaces:
Paused
Paused
Download Dockerfile from henztech/Cyber-Xploit: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/henztech/Cyber-Xploit/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/henztech/Cyber-Xploit/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/henztech/Cyber-Xploit/resolve/main/Dockerfile
350 Bytes
| # Use a lightweight Node.js image | |
| FROM node:18-bullseye | |
| # Set working directory | |
| WORKDIR /app | |
| RUN git clone https://github.com/EMMYHENZ-TECH/My-site.git /app | |
| # Set correct permissions | |
| RUN chmod -R 777 /app | |
| # Install project dependencies | |
| WORKDIR /app | |
| RUN npm install | |
| # Expose a port | |
| EXPOSE 7860 | |
| # Start the application | |
| CMD ["node", "server.js"] |