PyMenuBOT/Dockerfile

29 lines
477 B
Docker
Raw Normal View History

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
COPY . /app
2023-10-07 19:21:50 -04:00
WORKDIR /app
RUN make
2023-10-10 09:43:47 -04:00
COPY src/config.h src/config.h
2023-10-07 19:21:50 -04:00
ENTRYPOINT ["./PyMenu"]