From c88e0d36e6016895358bf8ded41c33f2da0fa3ae Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 17 Aug 2024 21:59:13 +0200 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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