Spaces:
Build error
Build error
Download Dockerfile from Sobroinc/LibreChat-AI: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/Sobroinc/LibreChat-AI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sobroinc/LibreChat-AI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sobroinc/LibreChat-AI/resolve/main/Dockerfile
290 Bytes
| # Use official Node 20 image | |
| FROM node:20 | |
| # Install pnpm globally | |
| RUN npm install -g pnpm | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files | |
| COPY . . | |
| # Install dependencies and build frontend | |
| RUN pnpm install | |
| RUN pnpm build | |
| # Start the LibreChat backend server | |
| CMD ["pnpm", "start"] |