Skip to content
Snippets Groups Projects
Verified Commit 002bd3b1 authored by Ruben van Dijk's avatar Ruben van Dijk
Browse files

Added the tree command.

parent 198a4eb0
Branches
No related tags found
No related merge requests found
Pipeline #13782 passed
......@@ -8,6 +8,13 @@ COPY . .
RUN mkdir output
RUN poetry run python3 generate.py
FROM ubuntu as tree
RUN apt update && apt install -y tree
WORKDIR /data
COPY --from=builder /app/output .
RUN tree -H . -s -o ../index.html
RUN mv ../index.html .
FROM halverneus/static-file-server:latest
WORKDIR /web
COPY --from=builder /app/output/* ./
COPY --from=tree /data/* ./
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment