use env var in dockerfile

This commit is contained in:
starnakin 2023-10-11 19:01:11 +00:00
parent 75fbd17761
commit 2f1089976c

View File

@ -18,12 +18,10 @@ RUN dpkg -i dpp.deb
RUN mkdir /app RUN mkdir /app
COPY . /app RUN git clone https://git.chauvet.pro/starnakin/PyMenuBOT
WORKDIR /app WORKDIR /app
RUN make RUN make
COPY src/config.h src/config.h ENTRYPOINT ["./PyMenu"]
ENTRYPOINT ["./PyMenu", "$BOT_TOKEN"]