27 lines
496 B
Docker
27 lines
496 B
Docker
FROM debian
|
|
|
|
RUN apt update
|
|
RUN yes y | apt upgrade
|
|
|
|
RUN apt install make
|
|
RUN yes y | apt install git
|
|
RUN yes | apt install wget
|
|
RUN yes y | apt install g++
|
|
|
|
# install the dpp lib
|
|
RUN yes y | apt install cmake
|
|
RUN yes y | apt install wget
|
|
RUN yes y | apt install libsodium23
|
|
RUN yes y | apt install libopus0
|
|
RUN wget -O dpp.deb https://dl.dpp.dev/
|
|
RUN dpkg -i dpp.deb
|
|
|
|
RUN mkdir /app
|
|
|
|
RUN git clone https://git.chauvet.pro/starnakin/PyMenuBOT /app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN make
|
|
|
|
ENTRYPOINT ["./PyMenu"] |