mnds18/agentic-ts-forecasting-system
0
1# Dockerfile2 3# 1. Base Image4FROM python:3.11-slim5 6# 2. Set working directory7WORKDIR /app8 9# 3. Copy all files into container10COPY . /app11 12# 4. Install system dependencies13RUN apt-get update && \14 apt-get install -y build-essential libgl1-mesa-glx && \15 apt-get clean16 17# 5. Install Python dependencies18RUN pip install --upgrade pip && \19 pip install -r requirements.txt20 21# 6. Expose necessary port22EXPOSE 500123 24# 7. Run both Flask + Streamlit servers (simple dev mode with bash)25CMD ["bash", "-c", "python agentic_ts_forecasting_system.py & streamlit run app.py --server.port=8501 --server.enableXsrfProtection=false --server.enableCORS=false"]26 