optimization: use slim python image variant
- hiredis compilation fixed
This commit is contained in:
parent
30566fe449
commit
1621561195
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue