2023-10-07 19:21:50 -04:00
|
|
|
FROM debian
|
|
|
|
|
|
|
|
RUN apt update
|
2023-10-10 09:43:47 -04:00
|
|
|
RUN yes y | apt upgrade
|
2023-10-07 19:21:50 -04:00
|
|
|
|
|
|
|
RUN apt install make
|
2023-10-10 09:43:47 -04:00
|
|
|
RUN yes y | apt install git
|
|
|
|
RUN yes | apt install wget
|
|
|
|
RUN yes y | apt install g++
|
2023-10-07 19:21:50 -04:00
|
|
|
|
|
|
|
# install the dpp lib
|
2023-10-10 09:43:47 -04:00
|
|
|
RUN yes y | apt install cmake
|
|
|
|
RUN yes y | apt install wget
|
|
|
|
RUN yes y | apt install libsodium23
|
|
|
|
RUN yes y | apt install libopus0
|
2023-10-07 19:21:50 -04:00
|
|
|
RUN wget -O dpp.deb https://dl.dpp.dev/
|
|
|
|
RUN dpkg -i dpp.deb
|
|
|
|
|
2023-10-10 10:04:23 -04:00
|
|
|
RUN mkdir /app
|
|
|
|
|
2023-10-11 15:33:55 -04:00
|
|
|
RUN git clone https://git.chauvet.pro/starnakin/PyMenuBOT /app
|
2023-10-07 19:21:50 -04:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN make
|
|
|
|
|
2023-10-11 15:01:11 -04:00
|
|
|
ENTRYPOINT ["./PyMenu"]
|