Obesity_Predictor / Dockerfile
HugMeBytes's picture
Initial commit
82ca89b verified
raw
history blame contribute delete
399 Bytes
# Use a lightweight Python base image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy everything into the container
COPY . .
# Install dependencies
RUN pip install --upgrade pip && \
pip install -r requirements.txt
# Expose Streamlit's default port
EXPOSE 8501
# Run your Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]