ai-code-detection / Dockerfile
joshnavip's picture
Fix Reflex Docker run command
1ffddc6
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"]