Skip to content

Commit

Permalink
Containers
Browse files Browse the repository at this point in the history
  • Loading branch information
RaniAgus committed Jul 9, 2024
1 parent e4c3353 commit cde2225
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM alpine AS builder

WORKDIR /commons/docs/node_modules/@jothepro

RUN apk add --no-cache gcompat doxygen graphviz

ADD https://github.com/jothepro/doxygen-awesome-css/archive/refs/tags/v2.3.3.tar.gz ./

WORKDIR /commons

COPY ../ ./

WORKDIR /commons/docs

RUN doxygen -g Doxyfile

FROM nginx:alpine AS runner

COPY --from=builder /commons/build/html /usr/share/nginx/html

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]

0 comments on commit cde2225

Please sign in to comment.