Skip to content

Commit 823f0ec

Browse files
sweatybridgesoedirgo
authored andcommitted
fix: add ca-certificates to docker image
1 parent d577e56 commit 823f0ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ COPY . .
88
RUN npm run build && npm prune --omit=dev
99

1010
FROM node:20-slim
11+
RUN apt-get update && apt-get install -y \
12+
ca-certificates \
13+
&& rm -rf /var/lib/apt/lists/*
1114
WORKDIR /usr/src/app
1215
COPY --from=build /usr/src/app/node_modules node_modules
1316
COPY --from=build /usr/src/app/dist dist

0 commit comments

Comments
 (0)