Jotheeswaransakthivel's picture
Update Dockerfile
f3bc674 verified
raw
history blame contribute delete
644 Bytes
# Base image
FROM python:3.13.5-bullseye
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
libatlas-base-dev \
gfortran \
liblapack-dev \
&& rm -rf /var/lib/apt/lists/*
# Copy application files
COPY src/ ./src/
# Upgrade pip & install Python dependencies
RUN pip install --upgrade pip setuptools wheel
RUN pip install --no-cache-dir --prefer-binary -r src/requirements.txt
# Expose Streamlit port
EXPOSE 8501
# Run Streamlit app
CMD ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"]