FYI-progress / Dockerfile
mbecchis's picture
Update Dockerfile
2559110 verified
Raw
History Blame Contribute Delete
357 Bytes
FROM python:3.11-slim
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Expose Streamlit port
EXPOSE 8501
# Run Streamlit
CMD ["streamlit", "run", "app1.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true"]