Spaces:
Runtime error
Runtime error
| FROM python:3.11-slim | |
| ENV DEBIAN_FRONTEND=noninteractive PIP_NO_CACHE_DIR=1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl ca-certificates procps \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Ollama | |
| RUN curl -fsSL https://ollama.com/install.sh | sh | |
| # Gradio arayüzü için paketler | |
| RUN pip install --no-cache-dir gradio requests | |
| WORKDIR /app | |
| COPY start.sh /app/start.sh | |
| COPY app.py /app/app.py | |
| RUN chmod +x /app/start.sh | |
| EXPOSE 8080 | |
| CMD ["/bin/bash","-lc","/app/start.sh"] | |