Spaces:
Sleeping
Sleeping
Download Dockerfile from MGZON/next-draft-mode-test: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/spaces/MGZON/next-draft-mode-test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MGZON/next-draft-mode-test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MGZON/next-draft-mode-test/resolve/main/Dockerfile
239 Bytes
| FROM node:20-slim AS base | |
| WORKDIR /app | |
| # Copy only necessary files | |
| COPY package.json pnpm-lock.yaml ./ | |
| RUN npm install -g pnpm && pnpm install --frozen-lockfile | |
| COPY . . | |
| RUN pnpm run build | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| CMD ["pnpm", "start"] |