diff --git a/Dockerfile b/Dockerfile index d5054aa..1588055 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,15 @@ COPY requirements.txt /tmp/requirements.txt ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get upgrade -y && \ - apt-get install -y ca-certificates && \ + apt-get install --no-install-recommends -y ca-certificates && \ python3 -m venv /usr/local && \ pip install --no-cache-dir -r /tmp/requirements.txt FROM python:3.12.5-slim-bookworm COPY --from=pip /usr/local /usr/local -RUN apt update && \ - apt upgrade -y && \ - apt install -y ca-certificates tzdata tini && \ +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install --no-install-recommends -y ca-certificates tzdata tini && \ playwright install chrome USER nobody COPY app.py /usr/local/bin/app.py