CogniEngine / Dockerfile
sadidft's picture
Update Dockerfile
c42f12e verified
raw
history blame contribute delete
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"]