ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.
Python ai-agentsamdcomfyuidockerllama-cppllmlocal-ain8nnvidiaopen-webuiragself-hostedspeech-to-textstrix-halotext-to-speechworkflow-automation
FROM python:3.12-slim@sha256:ccc7089399c8bb65dd1fb3ed6d55efa538a3f5e7fca3f5988ac3b5b87e593bf0
# Install build dependencies for C extensions (psutil)
RUN apt-get update && apt-get install -y --no-install-recommends gcc python3-dev && \
rm -rf /var/lib/apt/lists/*
# Install dependencies
# Open Interpreter 0.4.3 imports pkg_resources at startup; Setuptools 82 removed it.
RUN pip install --no-cache-dir \
setuptools==81.0.0 \
open-interpreter==0.4.3 \
fastapi==0.111.0 \
uvicorn==0.42.0 \
pydantic==2.12.5
# Create non-root user
RUN useradd -m -s /bin/bash appuser
# Create app directory
WORKDIR /app
# Copy server script
COPY server.py /app/server.py
# Create data directory with correct ownership
RUN mkdir -p /app/data && chown -R appuser:appuser /app
# Switch to non-root user
USER appuser
# Exercise the actual chat runner import, which the HTTP health route does not.
RUN python -c "from interpreter import interpreter; assert interpreter is not None"
# Expose port (matches server.py and compose.yaml)
EXPOSE 8080
# Default command: start FastAPI server
CMD ["python", "server.py"]