From 0bb4269931964dbe05906aadf685d01cd5fcd979 Mon Sep 17 00:00:00 2001 From: Yad Smood Date: Tue, 17 May 2022 15:59:22 +0800 Subject: [PATCH] ensure the .dockerenv file --- lib/docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/docker/Dockerfile b/lib/docker/Dockerfile index db0ac979..53dbab63 100644 --- a/lib/docker/Dockerfile +++ b/lib/docker/Dockerfile @@ -45,5 +45,7 @@ ENTRYPOINT ["dumb-init", "--"] COPY --from=go /root/.cache/rod /root/.cache/rod RUN ln -s /root/.cache/rod/browser/$(ls /root/.cache/rod/browser)/chrome-linux/chrome /usr/bin/chrome +RUN touch /.dockerenv + COPY --from=go /rod/rod-manager /usr/bin/ CMD rod-manager