File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ WORKDIR /usr/src/tgbot-cpp/samples/reply-keyboard
7474RUN rm -rf CMakeCache.txt CMakeFiles/ && \
7575 cmake . && make -j$(nproc)
7676
77+ WORKDIR /usr/src/tgbot-cpp/samples/receive-file
78+ RUN rm -rf CMakeCache.txt CMakeFiles/ && \
79+ cmake . && make -j$(nproc)
80+
7781WORKDIR /usr/src/tgbot-cpp
7882ENV CTEST_OUTPUT_ON_FAILURE=1
7983CMD make test
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.10.2 )
2- project (file)
2+ project (receive- file)
33
44set (CMAKE_CXX_STANDARD 14)
55set (CMAKE_CXX_STANDARD_REQUIRED ON )
Original file line number Diff line number Diff line change 11FROM reo7sp/tgbot-cpp
22MAINTAINER Oleg Morozenkov <m@oleg.rocks>
33
4- WORKDIR /usr/src/photo
4+ WORKDIR /usr/src/receive-file
55COPY . .
66RUN cmake .
77RUN make -j4
8- CMD ./photo
8+ CMD ./receive-file
Original file line number Diff line number Diff line change 66
77#include < tgbot/tgbot.h>
88
9-
109using namespace std ;
1110using namespace TgBot ;
1211
You can’t perform that action at this time.
0 commit comments