Spaces:
Runtime error
Runtime error
File size: 350 Bytes
aaa98fc 8a82d95 aaa98fc 8a82d95 aaa98fc 8a82d95 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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"]
|