forked from rhasspy/wyoming-satellite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (19 loc) · 793 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM python:3.11-slim-bookworm
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
COPY sounds/ ./sounds/
COPY script/setup ./script/
COPY script/run* ./script/
COPY examples/*_service.py ./examples/
COPY wyoming_satellite/ ./wyoming_satellite/
COPY setup.py requirements*.txt MANIFEST.in ./
COPY docker/run ./
RUN apt-get update && \
apt-get install --yes --no-install-recommends vim-tiny build-essential linux-headers-generic libusb-1.0 avahi-utils alsa-utils && \
script/setup --aen --vad --led && \
apt-get remove --purge --yes build-essential linux-headers-generic && \
apt-get autoremove --purge --yes && \
rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true
EXPOSE 10700
ENTRYPOINT ["/app/run"]