File size: 344 Bytes
7d43851
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN apt-get update && apt-get install -y --no-install-recommends \
    gcc \
    && pip install --no-cache-dir -r requirements.txt \
    && apt-get purge -y gcc \
    && apt-get autoremove -y \
    && rm -rf /var/lib/apt/lists/*
COPY main.py .
CMD ["python", "-u", "main.py"]