-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