Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Update to GAR v4 (in development)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apipa169 committed Sep 13, 2020
1 parent 1e6a096 commit f785d5e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
22 changes: 9 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,19 @@ FROM node
ENV LANG C.UTF-8
ENV VERSION=$VERSION
ENV BUILD_DATE=$BUILD_DATE
ENV jwtSecret=Assistant-Relay-2020

RUN apt-get update && apt-get install -y \
python3-pip
RUN apt-get update && apt-get install -y apt-transport-https
RUN apt-get install -y git
RUN apt-get install -y python3-pip
RUN pip3 install catt

RUN mkdir /assistant_relay \
&& npm i pm2 -g

WORKDIR /assistant_relay

RUN wget https://github.com/greghesp/assistant-relay/releases/download/v3.3.2b/release.zip \
&& unzip release.zip \
&& rm release.zip \
&& npm i
RUN git clone -b v4 https://github.com/greghesp/assistant-relay
WORKDIR /assistant-relay
RUN npm i pm2 -g
RUN npm i

WORKDIR /
RUN wget https://raw.githubusercontent.com/Apipa169/Assistant-Relay-Docker/master/run.sh
COPY run.sh /run.sh
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cd /assistant_relay
npm run start
cd /assistant-relay
npm run dev

0 comments on commit f785d5e

Please sign in to comment.