Spaces:
Sleeping
Sleeping
Download Dockerfile from KiritoAxinity/Sakuga: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/KiritoAxinity/Sakuga/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/KiritoAxinity/Sakuga/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/KiritoAxinity/Sakuga/resolve/main/Dockerfile
415 Bytes
| # Use a standard Node.js environment | |
| FROM node:18 | |
| # Create a place for your code | |
| WORKDIR /app | |
| # Install dependencies first (better for caching) | |
| COPY package*.json ./ | |
| RUN npm install | |
| # Copy all your project files | |
| COPY . . | |
| # Hugging Face usually expects port 7860 by default, | |
| # but since your project likely uses 8000, we ensure it matches. | |
| ENV PORT=8000 | |
| EXPOSE 8000 | |
| # Start the application | |
| CMD ["npm", "start"] |