mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
20 lines
400 B
Docker
20 lines
400 B
Docker
FROM node:12-buster
|
|
|
|
RUN set -ex; \
|
|
echo 'deb http://deb.debian.org/debian unstable main' \
|
|
> /etc/apt/sources.list.d/unstable.list; \
|
|
apt-get update; \
|
|
apt-get install -y -t unstable firefox; \
|
|
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
|