File size: 499 Bytes
9391abd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aecfd7c
9391abd
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.13-slim

WORKDIR /app

RUN apt-get update && apt-get install -y gcc g++ curl git && rm -rf /var/lib/apt/lists/*

COPY requirements-deploy.txt ./
RUN pip install --no-cache-dir -r requirements-deploy.txt

COPY src/ ./src/
COPY app/ ./app/
COPY .chainlit/ ./.chainlit/
COPY chainlit.md ./chainlit.md

RUN useradd -m -u 1000 user && chown -R user:user /app
USER user
ENV PYTHONPATH="/app"
EXPOSE 7860

CMD ["chainlit", "run", "app/vilexagent_ui.py", "--host", "0.0.0.0", "--port", "7860"]