Team Ai
Apppublic

Manos21/AutoTransfer-StructuredData-from-MS_Word_to_Excel

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
Dockerfile22 linesDownload Raw Back to root
1FROM python:3.9-slim2 3WORKDIR /app4 5# Create writable .streamlit directory6RUN mkdir -p /app/.streamlit7 8# Set up minimal Streamlit config9RUN echo "[server]\nheadless = true\nport = 7860\nenableCORS = false\nenableXsrfProtection = false\n" > /app/.streamlit/config.toml10 11# Disable usage tracking & restrict Streamlit to /app12ENV STREAMLIT_HOME="/app"13ENV STREAMLIT_DISABLE_USAGE_STATS="1"14ENV STREAMLIT_CONFIG_DIR="/app/.streamlit"15 16COPY requirements.txt .17RUN pip install --no-cache-dir -r requirements.txt18 19COPY . /app20 21CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]22