Skip to content

Commit

Permalink
enhance(Docker): use from source
Browse files Browse the repository at this point in the history
Signed-off-by: shrihanDev <[email protected]>
  • Loading branch information
shrihankp committed Sep 18, 2022
1 parent adff858 commit 574c064
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,16 @@ FROM node:lts-buster
WORKDIR /app

RUN apt-get --yes update && \
apt-get --yes install wget java-common libasound2 libxi6 libxtst6 && \
apt-get --yes install git wget java-common libasound2 libxi6 libxtst6 xdg-utils && \
wget -O /app/zulu.deb https://cdn.azul.com/zulu/bin/zulu17.34.19-ca-jdk17.0.3-linux_amd64.deb && \
yes | dpkg -i /app/zulu.deb && \
rm /app/zulu.deb && \
apt-get -f install

RUN mkdir revanced/
RUN git clone --depth=1 --no-tags git://github.com/reisxd/revanced-builder

RUN apt-get --yes install xdg-utils

RUN wget -O /app/builder https://github.com/reisxd/revanced-builder/releases/download/v3.4.5/revanced-builder-linux

RUN chmod +x builder
WORKDIR /app/revanced-builder

EXPOSE 8000

CMD ["/app/builder"]
CMD ["node", ".", "--no-open"]

0 comments on commit 574c064

Please sign in to comment.