build-small-hackathon / Dockerfile
shankarsain's picture
fix: add zstd system dependency to Dockerfile for Ollama installation
d5f2cd6
Raw
History Blame Contribute Delete
559 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
wget \
git \
build-essential \
zstd \
&& rm -rf /var/lib/apt/lists/*
# Install Ollama
RUN curl -fsSL https://ollama.com/install.sh | sh
# Copy and install python dependencies
COPY backend/requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Expose port
EXPOSE 7860
# Run cross-platform launcher
CMD ["python", "app.py"]