switch to debian base
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 9 Mar 2023 06:48:26 +0000 (07:48 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 9 Mar 2023 06:48:26 +0000 (07:48 +0100)
Dockerfile

index 580898721903bb05efae836ba5e648e7800a6f87..f7428c4e170ec3ceb23513e48278d9956d52244e 100644 (file)
@@ -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