File size: 541 Bytes
a651d37
f06eb57
 
 
 
 
 
 
 
 
 
 
9433f90
9ecf75b
f06eb57
9ecf75b
 
8a68cf3
55511d7
 
 
f06eb57
 
 
 
9433f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM python:3.11-slim

WORKDIR /app

# Copy requirements file
COPY requirements.txt .

# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Copy application files
COPY app.py .
COPY prompt.md .
COPY chainlit.md .

# Copy Chainlit configuration (with customizations)
COPY .chainlit/ .chainlit/

# Copy public assets (logo, etc.)
COPY public/ public/

# Expose port 7860 (required for Hugging Face Spaces)
EXPOSE 7860

# Run Chainlit application
CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]