File size: 349 Bytes
14204cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1ffddc6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"]