InvoiceAgenticAI / Dockerfile
PARTHA181098's picture
Update Dockerfile
87fc592 verified
raw
history blame contribute delete
609 Bytes
FROM python:3.11-slim
# -------- System deps --------
RUN apt-get update && apt-get install -y \
build-essential \
libgl1 \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender-dev \
poppler-utils \
&& rm -rf /var/lib/apt/lists/*
# Optional: disable Paddle model source check (faster startup)
ENV PADDLE_PDX_DISABLE_MODEL_SOURCE_CHECK=True
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV STREAMLIT_SERVER_PORT=8501
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
ENV PYTHONUNBUFFERED=1
EXPOSE 8501
CMD ["streamlit", "run", "main.py"]