-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 736 Bytes
/
Copy pathDockerfile
File metadata and controls
24 lines (17 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Nagual Eternal v2 — isolated container (runs next to, but never touching, Voronka)
FROM python:3.12-slim
WORKDIR /app
# git for the local memory cocoon (GitSync); minimal
RUN apt-get update && apt-get install -y --no-install-recommends git openssh-client catdoc djvulibre-bin && rm -rf /var/lib/apt/lists/*
# Deps first for layer caching
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# App
COPY core.py .
COPY config.env .
# Seed personality — entrypoint copies it into the data volume on first run
COPY data/dna/SOUL.md /app/seed/SOUL.md
COPY entrypoint.sh /app/entrypoint.sh
RUN sed -i 's/\r$//' /app/entrypoint.sh && chmod +x /app/entrypoint.sh
EXPOSE 8000
ENTRYPOINT ["/app/entrypoint.sh"]