File size: 283 Bytes
27e696a
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
    gcc \
    g++ \
    libffi-dev \
    libssl-dev \
    python3-dev \
    && rm -rf /var/lib/apt/lists/*
COPY app.py .
RUN pip install --no-cache-dir requirements.txt
EXPOSE 7860
CMD ["python", "app.py"]