File size: 647 Bytes
e6f7650
aadc8b7
f93f416
aadc8b7
 
e6f7650
 
 
 
f8c703f
 
 
 
 
 
 
 
 
 
e6f7650
 
f8c703f
e6f7650
f93f416
e6f7650
f93f416
 
aadc8b7
f8c703f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM python:3.11-slim

ENV PYTHONUNBUFFERED=1
WORKDIR /app

RUN apt-get update && apt-get install -y \
    curl wget git build-essential \
    && rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir \
    flask flask-cors \
    jupyter_kernel_gateway \
    ipykernel \
    jupyter_client \
    nbformat \
    playwright \
    pandas numpy matplotlib seaborn scipy \
    requests beautifulsoup4 pillow \
    openpyxl PyPDF2 python-docx \
    plotly fpdf2 reportlab \
    kaleido

RUN python -m ipykernel install --user
RUN playwright install chromium
RUN playwright install-deps chromium

COPY . .
EXPOSE 7860
CMD ["python3", "-u", "app.py"]