mydocker/satellite/Dockerfile.satellite

17 lines
541 B
Docker

FROM python:3.11-slim-bookworm
# 1. Instalacja narzędzi systemowych (dodajemy git!)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
alsa-utils \
libasound2-plugins \
git \
&& rm -rf /var/lib/apt/lists/*
# 2. Instalacja prosto z GitHuba (omijamy zepsutą wersję PyPI)
WORKDIR /app
RUN pip install --no-cache-dir "git+https://github.com/rhasspy/wyoming-satellite.git"
# 3. Zmiana sposobu uruchamiania (to omija błąd "attribute run")
ENTRYPOINT ["python3", "-m", "wyoming_satellite"]