assistant-relay icon indicating copy to clipboard operation
assistant-relay copied to clipboard

Docker image

Open egeu5 opened this issue 3 years ago • 1 comments

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.

egeu5 avatar Sep 06 '21 13:09 egeu5

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"]

circa10a avatar Sep 25 '21 14:09 circa10a