File size: 401 Bytes
64640e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"]