File size: 300 Bytes
a4da552
8c8d5f8
6f8bc75
 
a4da552
de68d43
a4da552
8c8d5f8
6f8bc75
8c8d5f8
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# builder
FROM python:3.11-bookworm AS builder
WORKDIR /app
COPY requirements.txt .
RUN pip install --prefix=/install -r requirements.txt

# runtime
FROM mcr.microsoft.com/playwright/python:v1.42.0-jammy
WORKDIR /app
COPY --from=builder /install /usr/local
COPY app app
CMD ["python", "app/main.py"]