Spaces:
Runtime error
Runtime error
Download Dockerfile from Mohakobi79/Simo: direct link, hf CLI and curl.
- Browser
- Download file 598 Bytes
-
https://huggingface.co/spaces/Mohakobi79/Simo/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mohakobi79/Simo/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mohakobi79/Simo/resolve/main/Dockerfile
598 Bytes
| FROM node:lts-buster | |
| # Install required packages | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| git \ | |
| ffmpeg \ | |
| imagemagick \ | |
| webp && \ | |
| apt-get upgrade -y && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Set the working directory | |
| WORKDIR /app | |
| # Clone the repository | |
| RUN git clone https://github.com/mohakobi7/KOBY-SM.git | |
| # Set the working directory to the cloned repository | |
| WORKDIR /app/KOBY-SM | |
| # Grant permissions, clear cache, and install dependencies | |
| RUN chmod -R 777 /app && \ | |
| npm cache clean --force && \ | |
| npm install --force | |
| # Start the application | |
| CMD ["npm", "start"] |