File size: 540 Bytes
11e7313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
FROM python:3.10-slim

WORKDIR /Server

# 🔴 REQUIRED system libraries for pyarrow / datasets
RUN apt-get update && apt-get install -y \
    build-essential \
    gcc \
    g++ \
    cmake \
    curl \
    libglib2.0-0 \
    libsm6 \
    libxext6 \
    libxrender-dev \
    && rm -rf /var/lib/apt/lists/*

COPY requirements.txt .

# 🔴 Upgrade tooling and install deps
RUN python -m pip install --upgrade pip setuptools wheel \
    && python -m pip install -r requirements.txt --no-cache-dir

COPY . .

CMD ["python", "-m", "App.app"]