Dattaluri's picture
Update Dockerfile.txt
3cf9aae verified
raw
history blame contribute delete
386 Bytes
# Use official Python 3.10 image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all files into container
COPY . .
# Expose Streamlit port
EXPOSE 8501
# Run Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]