persistent db for docker

This commit is contained in:
2019-11-10 19:07:26 +02:00
parent 1a107fdd50
commit 5664128d20
4 changed files with 20 additions and 15 deletions

View File

@@ -6,12 +6,12 @@ RUN apt-get update && apt-get install -y \
curl \
git \
openssh-server \
build-essential
RUN curl -L https://six9.net/get-pip.py | python3 && pip3 install tabulate psutil
build-essential \
&& apt-get clean
RUN curl -L https://six9.net/get-pip.py | python3 && pip3 install tabulate psutil && rm -rf ~/.cache/pip
RUN git clone https://bitbucket.org/MoonQ/backdoor.git /backdoor
ADD config.env /backdoor/
RUN cd /backdoor
ADD install.sh /
ADD run.sh /
CMD sh /run.sh
CMD bash /run.sh