Files
historian/Dockerfile
Gregory Marco bedaa53533
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Render to a temporary outside directory and then copy to our actual output directory.
2024-09-27 05:12:30 -05:00

11 lines
284 B
Docker
Executable File

FROM rust:1-bookworm
WORKDIR /usr/src/historian
COPY . .
RUN cargo install --path .
ENV PLUGIN_INPUT=.
ENV PLUGIN_OUTPUT=output
CMD historian $PLUGIN_INPUT --template-path /usr/src/historian/templates --render-to /tmp/historian-output && cp -R /tmp/historian-output $PLUGIN_OUTPUT