Zaws / Dockerfile
SilentWraith's picture
Update Dockerfile
a4da552 verified
raw
history blame
300 Bytes
# 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"]