job-knowledge-rag / Dockerfile
zewial's picture
Update Dockerfile
ea8b952 verified
raw
history blame contribute delete
499 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements and install Python packages
COPY requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
# Copy all application files
COPY . .
# Expose Streamlit port
EXPOSE 7860
# Run the Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]