summaryrefslogtreecommitdiff
path: root/samples/receive-file/Dockerfile
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2023-01-26 10:43:23 +0300
committerGitHub <noreply@github.com>2023-01-26 10:43:23 +0300
commitab7ce1f7ae842c74f67f3576542aa68f5eff8ebb (patch)
treea3eedee7d73d703d56f81e182abd8c5e4f2626fc /samples/receive-file/Dockerfile
parent8f49832c1ed01f44b08718ffc9cd4ed816d2a0cd (diff)
parent1aa81588384359f1f96b0dff453374570439af72 (diff)
Merge pull request #255 from reo7sp/Ctulh-master
Add file sample #254 with fixes
Diffstat (limited to 'samples/receive-file/Dockerfile')
-rw-r--r--samples/receive-file/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/receive-file/Dockerfile b/samples/receive-file/Dockerfile
new file mode 100644
index 0000000..ce91c8c
--- /dev/null
+++ b/samples/receive-file/Dockerfile
@@ -0,0 +1,8 @@
+FROM reo7sp/tgbot-cpp
+MAINTAINER Oleg Morozenkov <m@oleg.rocks>
+
+WORKDIR /usr/src/receive-file
+COPY . .
+RUN cmake .
+RUN make -j4
+CMD ./receive-file