File size: 297 Bytes
6cf0909
7ae216c
25f6ab2
7ae216c
6cf0909
 
 
 
 
25f6ab2
8450b02
6cf0909
 
7ae216c
7549ba3
6cf0909
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.10-slim

RUN apt-get update && apt-get install -y build-essential git && rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir \
    torch \
    transformers \
    accelerate \
    duckduckgo-search \
    gradio

WORKDIR /app
COPY app.py .

EXPOSE 7860
CMD ["python", "app.py"]