api / Dockerfile
CI
deploy from 29315abadb924caea469367181002762d487b1b7
64640e1
raw
history blame contribute delete
401 Bytes
FROM python:3.13
RUN useradd -m -u 1000 user
WORKDIR /app
RUN mkdir -p logs
RUN pip install uv
# RUN uv pip install --system git+https://github.com/mpilhlt/llamore.git[api]
RUN uv pip install --system "git+https://github.com/mpilhlt/llamore.git@feat/add_webservice_api#egg=llamore[api]"
COPY --chown=user api.py .
EXPOSE 7860
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]