Spaces:
Paused
Paused
Download Dockerfile from bonesmasher/WhisperNet: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/bonesmasher/WhisperNet/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/bonesmasher/WhisperNet/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/bonesmasher/WhisperNet/resolve/main/Dockerfile
288 Bytes
| FROM oven/bun:1 AS base | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY package.json bun.lock* ./ | |
| RUN bun install --frozen-lockfile | |
| # Copy source | |
| COPY . . | |
| # Build | |
| ENV NODE_ENV=production | |
| RUN bun run build | |
| # Run | |
| ENV AUTH_TRUST_HOST=true | |
| EXPOSE 8000 | |
| CMD ["bun", "server.ts"] | |