Skip to content

Commit 714d09c

Browse files
committed
add libssl dep mannually
1 parent 858569a commit 714d09c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile.prod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ WORKDIR /usr/src/app
44
ARG DATABASE_URL
55
ENV DATABASE_URL=${DATABASE_URL}
66

7+
RUN set -ex; \
8+
apk update; \
9+
apk add --no-cache \
10+
openssl
11+
712
COPY . .
813

914
RUN npm install -g pnpm && \
@@ -14,6 +19,10 @@ RUN npm install -g pnpm && \
1419
RUN DATABASE_URL=${DATABASE_URL} pnpm dlx [email protected] generate
1520

1621
FROM node:20-alpine AS run
22+
RUN set -ex; \
23+
apk update; \
24+
apk add --no-cache \
25+
openssl
1726

1827
RUN mkdir /.npm && chown -R 1001:1001 /.npm
1928

0 commit comments

Comments
 (0)