From bedaa53533a80d86f75ab5bae59053071e0fe17d Mon Sep 17 00:00:00 2001 From: Gregory Marco Date: Fri, 27 Sep 2024 05:12:30 -0500 Subject: [PATCH] Render to a temporary outside directory and then copy to our actual output directory. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ef7c634..9d80f4d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ RUN cargo install --path . ENV PLUGIN_INPUT=. ENV PLUGIN_OUTPUT=output -CMD historian $PLUGIN_INPUT --template-path /usr/src/historian/templates --render-to $PLUGIN_OUTPUT +CMD historian $PLUGIN_INPUT --template-path /usr/src/historian/templates --render-to /tmp/historian-output && cp -R /tmp/historian-output $PLUGIN_OUTPUT