Skip to content
This repository was archived by the owner on Apr 27, 2025. It is now read-only.

Commit 4afb68a

Browse files
committed
fix: dockerfile
1 parent 5ebaf20 commit 4afb68a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:22 AS builder
2+
3+
COPY ./ /app
4+
5+
WORKDIR /app
6+
7+
RUN npm install
8+
RUN npm run build
9+
10+
FROM busybox:uclibc
11+
12+
COPY --from=builder /app/dist /app
13+
14+
CMD [ "sh", "-c", "trap 'exit 0' SIGTERM; while true; do sleep 1; done" ]

0 commit comments

Comments
 (0)