FROM python:3.10-slim RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* RUN curl -fsSL https://ollama.com/install.sh | sh WORKDIR /app COPY app /app COPY signals /app/signals COPY requirements.txt /app COPY .env /app/.env RUN pip install -r requirements.txt RUN chmod +x /app/start.sh EXPOSE 7860 CMD ["/app/start.sh"]