File size: 611 Bytes
7686908
825348b
ef331f0
7686908
4b28468
23520e2
7686908
 
 
 
 
 
 
 
 
825348b
 
cd87e40
7686908
 
 
 
825348b
eb2ef16
7686908
 
 
 
825348b
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
# Use Python 3.10 Slim
FROM python:3.10-slim

# Set working directory
WORKDIR /app

# 🛠️ INSTALL SYSTEM DEPENDENCIES
# We added 'curl' here so your bridge works!
RUN apt-get update && apt-get install -y \
    curl \
    git \
    wget \
    && rm -rf /var/lib/apt/lists/*

# Install Python libraries
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Install Playwright Browsers (for your screenshots)
RUN playwright install --with-deps chromium

# Copy the rest of the code
COPY . .

# Permissions for writing files
RUN chmod 777 /app

# Start the bot
CMD ["python", "main.py"]