23 lines
542 B
Text
23 lines
542 B
Text
FROM python:3.13
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y curl gnupg unzip && \
|
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
|
apt-get install -y nodejs && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN pip install --no-cache-dir pdfplumber sqlalchemy plotly pandas \
|
|
openpyxl bcrypt pyyaml pypdf pyotp "qrcode[pil]" reportlab playwright
|
|
|
|
COPY . .
|
|
|
|
RUN reflex init
|
|
|
|
RUN mkdir -p /data /logs
|
|
|
|
EXPOSE 3001 8001
|
|
|
|
CMD ["reflex", "run"]
|