Skip to content

Commit 634f030

Browse files
author
gptkong
committed
add Dockerfile for building and previewing Lucide documentation
1 parent 34e130f commit 634f030

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

lucide-icon-docs/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM node:22-alpine
2+
3+
RUN apk add --no-cache git curl
4+
5+
WORKDIR /app
6+
7+
RUN git clone https://github.com/lucide-icons/lucide.git
8+
9+
WORKDIR /app/lucide
10+
11+
RUN npm install -g pnpm
12+
13+
RUN pnpm install
14+
15+
WORKDIR /app/lucide/docs
16+
17+
RUN pnpm run build
18+
19+
EXPOSE 4173
20+
21+
CMD ["pnpm", "run", "docs:preview"]

0 commit comments

Comments
 (0)