greghesp/assistant-relay

Docker image

egeu5 opened this issue · 1 comments

egeu5 commented

I copyed the following from #212 - the docker image (which is the solution in this feature request) is not longer maintained.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

No, it is not a problem. I just want to get docker image to install it easily.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Build docker image and distribute via github?

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

use docker hub?

Additional context
Add any other context or screenshots about the feature request here.

I made my own (arm compatible) that I copy custom local media files into:

FROM node:lts-alpine3.12
ARG ASSISTANT_RELAY_VERSION=3.3.2b
ENV NODE_ENV=production
EXPOSE 3000
# COPY ../sounds /bin/media
ADD https://github.com/greghesp/assistant-relay/releases/download/v$ASSISTANT_RELAY_VERSION/release.zip .
RUN  apk update && \
     apk upgrade && \
     apk add --no-cache python3 py3-pip make g++ && \
     pip3 install catt && \
     unzip -q release.zip && \
     rm release.zip && \
     npm run setup && \
     rm -rf /node_modules/grpc/build/Release/*.a /node_modules/grpc/build/Release/obj.target
CMD ["npm", "start"]