Adds devcontainer

This commit is contained in:
2026-06-14 01:06:13 -07:00
parent e9ff109f0a
commit 5f0d8511d2
2 changed files with 58 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM python:3.11-slim
# Dev tools — not needed in production, but essential for development
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Environment defaults (override via devcontainer.json remoteEnv)
ENV OLLAMA_URL=http://host.docker.internal:11434/api/generate
ENV MODEL_NAME=gemma4:e2b
ENV PORT=8080
ENV POLL_INTERVAL=21600
ENV DATA_DIR=/app/data
ENV TTS_VOICE=af_heart
RUN mkdir -p /app/data/audio