MLOps / Dockerfile
tiffieszn's picture
Switch to Python 3.12 and clean repo
7b9fcf4
Raw
History Blame Contribute Delete
387 Bytes
# Use official Python image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy requirements (we'll define it here) and app
COPY app.py .
# Install dependencies
RUN pip install --no-cache-dir streamlit pandas scikit-learn
# Expose Streamlit port
EXPOSE 8501
# Command to run the app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]