FROM python:3.11-slim WORKDIR /app COPY . /app RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ nodejs \ npm \ && rm -rf /var/lib/apt/lists/* RUN pip install --upgrade pip RUN pip install -r render-requirements.txt EXPOSE 7860 CMD ["reflex", "run", "--single-port", "--frontend-port", "7860"]