Floods_data_OKC / Dockerfile
Navya-Sree's picture
Update Dockerfile
067d709 verified
raw
history blame contribute delete
401 Bytes
# Start from official Python image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy requirements first for caching
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Expose port
EXPOSE 8501
# Run the application
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]