From c8aaafb3ec5c655f2cd8290f3a77702fbbcaf8d3 Mon Sep 17 00:00:00 2001 From: yaggen Date: Mon, 4 Nov 2024 11:13:26 +0100 Subject: [PATCH] Fix#69: Fixed auto-update function --- Dockerfile | 3 ++- Dockerfile-arm64v8 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7745da3..6a0e956 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,8 @@ RUN \ pip install --upgrade pip && \ pip install mkdocs==${MKDOCS_VERSION} && \ cd /bootstrap && pip install -e /bootstrap && \ + cp -r /bootstrap/app/ /usr/bin/ && \ rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \ chmod 600 /root/.ssh/config -CMD ["/usr/bin/python3", "/bootstrap/main.py", "start"] \ No newline at end of file +CMD ["/usr/bin/python3", "/bootstrap/main.py", "start"] diff --git a/Dockerfile-arm64v8 b/Dockerfile-arm64v8 index d9a6279..81f38cd 100644 --- a/Dockerfile-arm64v8 +++ b/Dockerfile-arm64v8 @@ -26,7 +26,8 @@ RUN \ pip install --upgrade pip && \ pip install mkdocs==${MKDOCS_VERSION} && \ cd /bootstrap && pip install -e /bootstrap && \ + cp -r /bootstrap/app/ /usr/bin/ && \ rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/* && \ chmod 600 /root/.ssh/config -CMD ["/usr/bin/python3", "/bootstrap/main.py", "start"] \ No newline at end of file +CMD ["/usr/bin/python3", "/bootstrap/main.py", "start"]