TTT / Dockerfile
github-actions[bot]
Auto-deploy from GitHub: 4fcea73c47f8139fda83603264b36bde22c0f681
004fac8
raw
history blame contribute delete
409 Bytes
FROM python:3.10-slim
ENV PYTHONUNBUFFERED=1
WORKDIR /app
RUN apt-get update && apt-get install -y \
git \
curl \
build-essential \
zstd \
&& rm -rf /var/lib/apt/lists/*
# Install Ollama
RUN curl -fsSL https://ollama.com/install.sh | sh
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p temp_dir
EXPOSE 7860
CMD ["python", "app.py"]