Spaces:
Sleeping
Sleeping
Download Dockerfile from sadidft/CogniEngine: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/spaces/sadidft/CogniEngine/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sadidft/CogniEngine/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sadidft/CogniEngine/resolve/main/Dockerfile
477 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY config.py . | |
| COPY utils.py . | |
| COPY memory.py . | |
| COPY knowledge.py . | |
| COPY thinker.py . | |
| COPY language.py . | |
| COPY brain.py . | |
| COPY main.py . | |
| COPY data/ ./data/ | |
| EXPOSE 7860 | |
| HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ | |
| CMD python -c "import httpx; r = httpx.get('http://localhost:7860/v1/health'); assert r.status_code == 200" | |
| CMD ["python", "main.py"] |