File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed
Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change 1- FROM node:18-alpine
1+ FROM node:18-bullseye
22
33WORKDIR /app
44COPY . .
5+ COPY --from=qldrsc/duckdb /usr/local/bin/duckdb /bin/duckdb
56
6- RUN apk add --no-cache --virtual .build-deps alpine-sdk python3 git openjdk8-jre cmake
7+ RUN apt-get update && \
8+ apt-get install -y git openjdk-11-jre && \
9+ apt-get clean && \
10+ rm -rf /var/lib/apt/lists/*
711RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
812RUN npm ci && npm run build && npm run build:docs && npm prune --production
9- RUN apk del .build-deps
10-
11- # As no pre-built binaries of duckdb can be found for Alpine (musl based),
12- # a rebuild of duckdb package is need.
13- #
14- # Library used by the event-replay based on parquet files.
15- ARG DUCKDB_VERSION=0.8.1
16- WORKDIR /duckdb
17- RUN apk add --no-cache --virtual .duckdb-build-deps python3 git g++ make
18- RUN git clone https://github.com/duckdb/duckdb.git -b v${DUCKDB_VERSION} --depth 1 \
19- && cd duckdb/tools/nodejs \
20- && ./configure && make all
21- WORKDIR /app
22- RUN npm uninstall duckdb && npm install /duckdb/duckdb/tools/nodejs
23- RUN apk del .duckdb-build-deps
2413
2514CMD ["node" , "./lib/index.js" ]
You can’t perform that action at this time.
0 commit comments