homelab-codex-ws/services/agent-system/runtime-materializer/Dockerfile

17 lines
369 B
Docker
Raw Permalink Normal View History

FROM python:3.11-slim
WORKDIR /app
# Install redis python package as requested
RUN pip install --no-cache-dir redis
COPY materializer.py .
# Ensure the world directory exists in the container (though it will likely be a volume)
RUN mkdir -p /opt/homelab/world
# Use unbuffered output to see logs in docker
ENV PYTHONUNBUFFERED=1
CMD ["python", "materializer.py"]