llm-mdcl-frontend / Dockerfile
kjdeka's picture
Upload folder using huggingface_hub
aa770b0 verified
raw
history blame contribute delete
525 Bytes
# Use Python 3.10 base image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy all files
COPY . .
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
libopenblas-dev \
libsqlite3-dev \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Expose port
EXPOSE 7860
# Run Flask app
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]