From 16215611958271eb33aab8f82f77b13f9b546ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:44:02 +0100 Subject: [PATCH] optimization: use slim python image variant - hiredis compilation fixed --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7e340fe..81daee6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ############ ARG NODE_VERSION=lts -ARG PYTHON_VERSION=3.12 +ARG PYTHON_VERSION=3.12-slim FROM node:${NODE_VERSION} AS build-ui # env setup @@ -57,6 +57,9 @@ RUN set -ex; \ export DEBIAN_FRONTEND=noninteractive; \ apt-get update; apt-get install --yes --no-install-recommends \ libmagic1 \ + # need to build hiredis + gcc \ + libc-dev \ ; rm -rf /var/lib/apt/lists/*; \ \ # install ovdashboard_api