Download Dockerfile from testser2/mznodeapi: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/testser2/mznodeapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/testser2/mznodeapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/testser2/mznodeapi/resolve/main/Dockerfile
353 Bytes
| # Use the official Bun image | |
| FROM oven/bun:latest | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package.json and package-lock.json (if exists) | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN bun install | |
| # Copy the rest of the application | |
| COPY . . | |
| # Expose the port the app runs on | |
| EXPOSE 7860 | |
| # Command to run the application | |
| CMD ["bun", "app.ts"] | |