FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ curl \ git \ python3 \ python3-pip \ zstd \ && rm -rf /var/lib/apt/lists/* # ollama RUN curl -fsSL https://ollama.com/install.sh | sh WORKDIR /app COPY . . RUN pip3 install --no-cache-dir -r requirements.txt EXPOSE 7860 COPY start.sh /start.sh RUN chmod +x /start.sh CMD ["/start.sh"]