Skip to content

Commit 4bc1907

Browse files
authored
container: update Dockerfile (#108)
1 parent d01a1bc commit 4bc1907

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

container/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
FROM node:24-slim AS builder
2-
3-
RUN apt-get update \
4-
&& apt-get install -y --no-install-recommends git ca-certificates \
5-
&& rm -rf /var/lib/apt/lists/*
1+
FROM node:lts AS builder
62

73
WORKDIR /workspace
84

@@ -27,3 +23,5 @@ COPY container/nginx.conf /etc/nginx/
2723
COPY --from=builder /workspace/website /usr/share/nginx/website/
2824

2925
EXPOSE 8080
26+
27+
HEALTHCHECK --timeout=10s --start-period=60s CMD wget -qO /dev/null http://0.0.0.0:8080

0 commit comments

Comments
 (0)