File size: 414 Bytes
b39e132
 
05f3b94
b39e132
05f3b94
 
b39e132
 
 
05f3b94
b39e132
494f6ca
05f3b94
b39e132
05f3b94
 
b39e132
f3f59d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use a lightweight Python image
FROM python:3.11-slim

# Set the working directory
WORKDIR /app

# Copy dependencies and install them
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy the application code
COPY ./src/app.py .

# Expose the default Chainlit port
EXPOSE 8501

# Command to run the Chainlit app
CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "8501"]