agent-worker-loop-v2 / Dockerfile
Backup Agent
feat: turn backup daemon into FastAPI vault server with HTTPS PAT git remote
5a5ae07
Raw
History Blame Contribute Delete
388 Bytes
FROM python:3.10-slim
# Install system dependencies (specifically git)
RUN apt-get update && apt-get install -y --no-install-recommends \
git && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
EXPOSE 7860
ENV PORT=7860
CMD ["uvicorn", "main.py:app", "--host", "0.0.0.0", "--port", "7860"]