From 9a4bb12246b647d92e4da6bb39454713f6e7c480 Mon Sep 17 00:00:00 2001 From: boris Date: Fri, 15 Sep 2023 14:40:13 +0800 Subject: [PATCH] Steps to add two files in the Docker image --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2611aca..e9339e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,5 +22,7 @@ RUN cargo install --path . FROM gcr.io/distroless/cc-debian12 COPY --from=builder /app/public/ /opt/websurfx/public/ COPY --from=builder /app/websurfx/config.lua /etc/xdg/websurfx/config.lua +COPY --from=builder /app/websurfx/allowlist.txt /etc/xdg/websurfx/allowlist.txt +COPY --from=builder /app/websurfx/blocklist.txt /etc/xdg/websurfx/blocklist.txt COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/ CMD ["websurfx"]