agent-memory / Dockerfile
Chris4K's picture
Upload 4 files
cdb66db verified
raw
history blame contribute delete
285 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN useradd -m -u 1000 user
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p memories && chown -R user:user /app
USER user
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]