11 lines
303 B
Docker
11 lines
303 B
Docker
FROM ollama/ollama:latest
|
|
|
|
# Устанавливаем curl для API запросов
|
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Копируем entrypoint скрипт
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|