mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 10:08:52 +08:00
* Update base Docker images * Use performance.now() instead of Date.now() for time promise tests * Build sqlitelua: user scalar, aggregate & table-valued functions in Lua
18 lines
286 B
Docker
18 lines
286 B
Docker
FROM node:20.14-bookworm
|
|
|
|
RUN set -ex; \
|
|
apt-get update; \
|
|
apt-get install -y firefox-esr; \
|
|
apt-get install -y chromium
|
|
|
|
WORKDIR /tmp/build
|
|
|
|
COPY package.json ./
|
|
COPY lib/dist lib/dist
|
|
COPY lib/package.json lib/package.json
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
CMD npm run benchmark
|