AIsumit123's picture
Update Dockerfile
212d0ca verified
raw
history blame contribute delete
500 Bytes
# Use a stable Python base image (LTS)
FROM python:3.13
# Set working directory
WORKDIR /app
# Copy all project files
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the Streamlit default port
EXPOSE 7860
# Ensure Streamlit runs in headless mode and picks your config
ENV STREAMLIT_SERVER_HEADLESS=true
ENV STREAMLIT_CONFIG_DIR=/app/.streamlit
# Run Streamlit
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]