Download Dockerfile from frommmmmm/testing2: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/spaces/frommmmmm/testing2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/frommmmmm/testing2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/frommmmmm/testing2/resolve/main/Dockerfile
439 Bytes
| FROM quay.io/ayanokojix2306/kojixsophia:latest | |
| # Clone the repository | |
| RUN git clone https://github.com/ayanokojix-1/SOPHIA-MD /home/suhai | |
| # Change ownership of the directory to the 'node' user | |
| RUN chown -R node:node /home/suhai | |
| # Switch to the 'node' user | |
| USER node | |
| # Set the working directory | |
| WORKDIR /home/suhai | |
| # Install dependencies | |
| RUN npm install | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Run the start.sh script | |
| CMD ["npm" , "start" ] |