Spaces:
Running
Running
Download Dockerfile from bun008/freellmapi: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/bun008/freellmapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/bun008/freellmapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/bun008/freellmapi/resolve/main/Dockerfile
387 Bytes
| # Use Bun Alpine as base image | |
| FROM oven/bun:alpine | |
| # Set working directory | |
| WORKDIR / | |
| # Copy application files | |
| COPY . ./ | |
| # Copy .env file if it exists | |
| #COPY .env* ./ | |
| # Install dependencies if package.json exists | |
| #RUN if [ -f package.json ]; then bun install --frozen-lockfile; fi | |
| # Expose port (adjust if needed) | |
| EXPOSE 7860 | |
| # Run the chat.js application | |
| CMD ["bun", "./server.js"] |