FROM python:3.9-slim # Устанавливаем зависимости COPY requirements.txt /app/requirements.txt WORKDIR /app RUN pip install -r requirements.txt # Копируем код COPY app.py /app/app.py # Запускаем сервер CMD ["python", "app.py"]