Skip to content

Commit 4ae0396

Browse files
committed
fix api
1 parent aa6e059 commit 4ae0396

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/api/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ COPY --from=builder $DIR/turbo.json ./turbo.json
2121
COPY --from=builder $DIR/packages ./packages
2222
COPY --from=builder $DIR/apps/api/prisma ./prisma
2323
RUN yarn install --ignore-scripts --frozen-lockfile --network-timeout 600000
24-
24+
RUN apk add --no-cache python3~=3 make~=4 g++~=14 pkgconf~=2 \
25+
&& yarn prisma generate \
26+
&& npm rebuild cld --build-from-source
2527
# Running build using turbo
2628
FROM node:22-alpine AS sourcer
2729
ARG DIR=/usr/src/app

0 commit comments

Comments
 (0)