File size: 486 Bytes
b7ba71a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use a Playwright-ready image so we have a browser for distribution
FROM mcr.microsoft.com/playwright:v1.40.0-jammy

# Set up a working directory
WORKDIR /app

# Switch to root to install python and pip
USER root
RUN apt-get update && apt-get install -y python3 python3-pip

# Copy your files into the container
COPY . .

# Install your automation requirements (we will create this file next)
RUN pip install -r requirements.txt

# Command to run your agent
CMD ["python3", "main.py"]