From bf0838c1a19f8e3d02d7ffed100147f6247ee328 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 9 Mar 2023 07:48:26 +0100 Subject: [PATCH] switch to debian base --- Dockerfile | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58089872..f7428c4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,21 @@ -FROM python:3.11.2-alpine3.16 - -# Add Home Assistant wheels repository -ENV WHEELS_LINKS=https://wheels.home-assistant.io/musllinux/ +FROM python:3.11.2 # Install component packages RUN \ - apk add --no-cache \ - curl \ - ffmpeg \ - ffmpeg-libs \ - git \ - libjpeg-turbo \ - mariadb-connector-c + set -x \ + && apt-get update \ + && apt-get install -y --no-install-recommends \ + libuv1 \ + curl \ + wget \ + ffmpeg \ + git \ + libjpeg62-turbo COPY . ./ # Install mass wheel and dependencies -RUN pip3 install --no-cache-dir --find-links ${WHEELS_LINKS} \ - .[server] +RUN pip3 install --no-cache-dir .[server] EXPOSE 8095/tcp -- 2.34.1