From 515757e6b9fcb6e7797970582de16951cb932b72 Mon Sep 17 00:00:00 2001 From: Marco MOSCARDINI <129736697+marcomoscardini01@users.noreply.github.com> Date: Fri, 3 Jan 2025 17:32:19 +0100 Subject: [PATCH] Update Dockerfile --- docker/python/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/python/Dockerfile b/docker/python/Dockerfile index 9e52707..336969e 100644 --- a/docker/python/Dockerfile +++ b/docker/python/Dockerfile @@ -3,9 +3,6 @@ ENV PYTHONUNBUFFERED 1 WORKDIR /app/ -# install cron daemon -RUN apt update; apt install cron -y; apt -yq autoremove; apt clean - RUN python -m venv /opt/venv # Enable venv ENV PATH="/opt/venv/bin:$PATH" @@ -17,6 +14,9 @@ FROM python:3.9-slim as runner WORKDIR /app/ COPY --from=compiler /opt/venv /opt/venv +# install cron daemon +RUN apt update; apt install cron libterm-readline-gnu-perl -y; apt -yq autoremove; apt clean + # Enable venv ENV PATH="/opt/venv/bin:$PATH" COPY ./scripts /app/