summaryrefslogtreecommitdiff
path: root/samples/file/Dockerfile
diff options
context:
space:
mode:
authorCtuh <pilnik2016@gmail.com>2023-01-24 16:11:53 +0300
committerCtuh <pilnik2016@gmail.com>2023-01-24 16:11:53 +0300
commit90dc11b7496864077cc81b4710673896147e2bfa (patch)
tree9c3e2649573dde934193b6f8c91ec94fc985c76e /samples/file/Dockerfile
parent8f49832c1ed01f44b08718ffc9cd4ed816d2a0cd (diff)
add file sample
Diffstat (limited to 'samples/file/Dockerfile')
-rw-r--r--samples/file/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/file/Dockerfile b/samples/file/Dockerfile
new file mode 100644
index 0000000..b87c2ca
--- /dev/null
+++ b/samples/file/Dockerfile
@@ -0,0 +1,8 @@
+FROM reo7sp/tgbot-cpp
+MAINTAINER Oleg Morozenkov <m@oleg.rocks>
+
+WORKDIR /usr/src/photo
+COPY . .
+RUN cmake .
+RUN make -j4
+CMD ./photo