File size: 685 Bytes
2c76963
92e7874
 
 
d036545
4299be7
 
 
 
d036545
5e7ce93
 
d036545
92e7874
 
 
d036545
 
 
 
 
 
 
 
92e7874
 
 
 
3e846c6
1387d46
4299be7
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
30
31
32
FROM python:3.10-slim

WORKDIR /app

# Install git + build essentials
RUN apt-get update && \
    apt-get install -y git build-essential && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

# Upgrade pip + tooling
RUN pip install --no-cache-dir --upgrade pip setuptools packaging

# Pre-install core packages
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Now clone and install GUI-Actor and Whisper
RUN git clone https://github.com/microsoft/GUI-Actor.git && \
    pip install -e GUI-Actor

RUN pip install git+https://github.com/openai/whisper.git
RUN pip install qwen-vl-utils

# Copy your app
COPY app.py .

EXPOSE 7860

CMD ["python", "app.py"]