Spaces:
Runtime error
Runtime error
Download Dockerfile from AgileChat/ui: direct link, hf CLI and curl.
- Browser
- Download file 626 Bytes
-
https://huggingface.co/spaces/AgileChat/ui/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AgileChat/ui/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AgileChat/ui/resolve/main/Dockerfile
626 Bytes
| FROM ghcr.io/agilellamaa/librechat-dev:latest | |
| EXPOSE 3080 | |
| # Create necessary directories | |
| RUN mkdir -p /app/uploads/temp | |
| RUN mkdir -p /app/client/public/images/temp | |
| RUN mkdir -p /app/api/logs/ | |
| RUN mkdir -p /app/data | |
| # Give write permission to the directories | |
| RUN chmod -R 777 /app/uploads/temp | |
| RUN chmod -R 777 /app/client/public/images | |
| RUN chmod -R 777 /app/api/logs/ | |
| RUN chmod -R 777 /app/data | |
| # Copy .env file | |
| COPY .env /app/.env | |
| # Copy librechat.yaml file | |
| COPY librechat.yaml /app/librechat.yaml | |
| # Install dependencies | |
| RUN cd /app/api && npm install | |
| # Command to run on container start | |
| CMD ["npm", "run", "backend"] | |