Download Dockerfile from akdybala/coderag-retrieval-console: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/spaces/akdybala/coderag-retrieval-console/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/akdybala/coderag-retrieval-console/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/akdybala/coderag-retrieval-console/resolve/main/Dockerfile
434 Bytes
| FROM node:22-slim AS ui-build | |
| WORKDIR /app/coderag_ui | |
| COPY coderag_ui/package*.json ./ | |
| RUN npm ci | |
| COPY coderag_ui/ ./ | |
| RUN npm run build | |
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY coderag ./coderag | |
| COPY coderag_api.py ./ | |
| COPY --from=ui-build /app/coderag_ui/dist ./coderag_ui/dist | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["python", "coderag_api.py", "--host", "0.0.0.0"] | |