add: dockerfile

This commit is contained in:
starnakin 2023-10-10 13:43:47 +00:00
parent 059de4981c
commit de2400cdf2

View File

@ -1,15 +1,18 @@
FROM debian FROM debian
RUN apt update RUN apt update
RUN apt upgrade RUN yes y | apt upgrade
RUN apt install make RUN apt install make
RUN apt install cmake RUN yes y | apt install git
RUN apt install git RUN yes | apt install wget
RUN apt install wget RUN yes y | apt install g++
# install the dpp lib # install the dpp lib
RUN apt install wget 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 wget -O dpp.deb https://dl.dpp.dev/
RUN dpkg -i dpp.deb RUN dpkg -i dpp.deb
@ -19,4 +22,6 @@ WORKDIR /app
RUN make RUN make
COPY src/config.h src/config.h
ENTRYPOINT ["./PyMenu"] ENTRYPOINT ["./PyMenu"]