mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
23 lines
650 B
Docker
23 lines
650 B
Docker
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
# Install packages
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
jq tzdata python3 python3-dev python3-pip libportaudio2 alsa-utils \
|
|
&& pip3 install --no-cache-dir --upgrade setuptools \
|
|
&& pip3 install --no-cache-dir \
|
|
google-assistant-library==1.0.0 \
|
|
google-assistant-sdk==0.5.0 \
|
|
google-assistant-grpc==0.2.0 \
|
|
google-auth requests_oauthlib cherrypy \
|
|
&& apt-get remove -y --purge python3-pip python3-dev \
|
|
&& apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy data
|
|
COPY run.sh /
|
|
COPY *.py /
|
|
|
|
ENTRYPOINT [ "/run.sh" ]
|