Download Dockerfile from mxmxk/suno: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/mxmxk/suno/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mxmxk/suno/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mxmxk/suno/resolve/main/Dockerfile
444 Bytes
| # syntax=docker/dockerfile:1 | |
| FROM node:lts-alpine AS builder | |
| WORKDIR /src | |
| COPY package*.json ./ | |
| RUN npm install | |
| COPY . . | |
| RUN npm run build | |
| FROM node:lts-alpine | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| # ARG SUNO_COOKIE | |
| # RUN if [ -z "$SUNO_COOKIE" ]; then echo "SUNO_COOKIE is not set" && exit 1; fi | |
| # ENV SUNO_COOKIE=${SUNO_COOKIE} | |
| RUN npm install --only=production | |
| COPY --from=builder /src/.next ./.next | |
| EXPOSE 7860 | |
| CMD ["npm", "run", "start"] | |