From 85e0e991973594fb458410876a1cc09c5971b918 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 26 Jan 2017 00:32:22 +0300 Subject: Helper method for loading files. Photo upload example. Fixes #24 --- samples/photo/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 samples/photo/Dockerfile (limited to 'samples/photo/Dockerfile') diff --git a/samples/photo/Dockerfile b/samples/photo/Dockerfile new file mode 100644 index 0000000..2bdbe1f --- /dev/null +++ b/samples/photo/Dockerfile @@ -0,0 +1,8 @@ +FROM reo7sp/tgbot-cpp +MAINTAINER Oleg Morozenkov + +WORKDIR /tmp/photo +COPY . . +RUN cmake . +RUN make -j4 +CMD ./photo -- cgit v1.2.3