summaryrefslogtreecommitdiff
path: root/Dockerfile_test
diff options
context:
space:
mode:
authorNulldisk <48621230+llnulldisk@users.noreply.github.com>2022-09-30 22:16:01 +0200
committerGitHub <noreply@github.com>2022-09-30 22:16:01 +0200
commit19f577d35bd5684a368c63c6a40f5d16dbc11fac (patch)
tree8e38a57ff493c0534116f3c4fc5c908a0e5a8257 /Dockerfile_test
parent243b0fa863fcd4d292689d58210f6d4ea2ee4d88 (diff)
Update Dockerfile_test
Diffstat (limited to 'Dockerfile_test')
-rw-r--r--Dockerfile_test10
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile_test b/Dockerfile_test
index ea208d8..6306115 100644
--- a/Dockerfile_test
+++ b/Dockerfile_test
@@ -44,11 +44,13 @@ WORKDIR /usr/src/tgbot-cpp/samples/echobot-setmycommands
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
cmake . && make -j$(nproc)
+WORKDIR /usr/src/tgbot-cpp
+RUN rm -rf samples/echobot-submodule/tgbot-cpp/
+COPY include samples/echobot-submodule/tgbot-cpp/include
+COPY src samples/echobot-submodule/tgbot-cpp/src
+COPY CMakeLists.txt samples/echobot-submodule/tgbot-cpp/
+
WORKDIR /usr/src/tgbot-cpp/samples/echobot-submodule
-RUN rm -rf tgbot-cpp/
-COPY ../../include* tgbot-cpp/include/
-COPY ../../src* tgbot-cpp/src/
-COPY ../../CMakeLists.txt tgbot-cpp/CMakeLists.txt
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
cmake . && make -j$(nproc)