Files
rkllm-gradio-server/Dockerfile
2026-02-03 18:31:42 +07:00

31 lines
826 B
Docker
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Базовый образ с Python 3.11.11
FROM python:3.11.11
# Установка метаданных
LABEL description="Docker image with Python 3.11.11 and required packages"
# Обновление системы и установка базовых зависимостей
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
curl \
wget \
nano \
sudo \
apt-utils \
cmake \
&& rm -rf /var/lib/apt/lists/*
# Обновление pip и установка setuptools/wheel
RUN pip install --upgrade pip && \
pip install setuptools wheel
# Проверка версии Python и pip
RUN python --version && pip --version
RUN pip install --no-cache-dir -r requirements.txt
# Очистка кэша
RUN apt-get clean && \
rm -rf /tmp/* /var/tmp/*