Really-amin's picture
Upload 2 files
f1590f1 verified
raw
history blame
645 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . /app
RUN apt-get update && apt-get install -y --no-install-recommends build-essential && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir fastapi==0.104.1 uvicorn[standard]==0.24.0 pydantic==2.5.0 python-multipart==0.0.6 SQLAlchemy==2.0.23 APScheduler==3.10.4 aiohttp==3.9.1 requests==2.31.0 httpx python-dotenv==1.0.0 feedparser==6.0.11 gradio==4.14.0 pandas==2.1.4 plotly==5.18.0
EXPOSE 7860
ENV PORT=7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--proxy-headers", "--forwarded-allow-ips", "*"]