summaryrefslogtreecommitdiff
path: root/samples/photo/Dockerfile
diff options
context:
space:
mode:
authorOleg Morozenkov <reo7sp@users.noreply.github.com>2017-01-26 00:32:22 +0300
committerOleg Morozenkov <reo7sp@users.noreply.github.com>2017-01-26 00:32:22 +0300
commit85e0e991973594fb458410876a1cc09c5971b918 (patch)
tree08186c9e9f58cdb617b9b63d583f535b1c884b72 /samples/photo/Dockerfile
parent3549754e53f79e9ba0b00fb0bbded5d56a14ef51 (diff)
Helper method for loading files. Photo upload example. Fixes #24
Diffstat (limited to 'samples/photo/Dockerfile')
-rw-r--r--samples/photo/Dockerfile8
1 files changed, 8 insertions, 0 deletions
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 <a@reo7sp.ru>
+
+WORKDIR /tmp/photo
+COPY . .
+RUN cmake .
+RUN make -j4
+CMD ./photo