sumitsinha2603's picture
Add Streamlit app files
bc4f619 verified
raw
history blame contribute delete
463 Bytes
# Use official Python image
FROM python:3.10
# Set working directory
WORKDIR /app
# Copy app files
COPY . /app
# Install required Python packages
RUN pip install --no-cache-dir \
streamlit \
pandas \
scikit-learn \
huggingface_hub
# Streamlit port
EXPOSE 7860
# Disable usage tracking
ENV STREAMLIT_BROWSER_GATHERUSAGESTATS=false
# Start the Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]