Spaces:
Runtime error
Runtime error
Download Dockerfile from mrbeniwal/multi_image: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/mrbeniwal/multi_image/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mrbeniwal/multi_image/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mrbeniwal/multi_image/resolve/main/Dockerfile
403 Bytes
| FROM node:18-alpine | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* ./ | |
| # Install dependencies | |
| RUN npm install --legacy-peer-deps | |
| # Copy the entire project | |
| COPY . . | |
| # Build the Next.js application | |
| RUN npm run build | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Start the application on port 7860 for Hugging Face Spaces | |
| CMD ["sh", "-c", "npm start -- -p 7860"] | |