eptm_dashboard/Dockerfile.dev

21 lines
584 B
Text

FROM python:3.13
WORKDIR /app
RUN apt-get update && apt-get install -y curl gnupg unzip xvfb && 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
RUN playwright install --with-deps chromium
COPY . .
RUN reflex init
RUN mkdir -p /data /logs
EXPOSE 3001 8001
CMD ["reflex", "run"]