16 lines
269 B
Docker
16 lines
269 B
Docker
FROM node:18-bullseye
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
|
xauth xvfb chromium firefox-esr
|
|
|
|
WORKDIR /app
|
|
COPY package*.json binding.gyp *.cc ./
|
|
|
|
RUN npm install
|
|
RUN npm audit fix
|
|
|
|
RUN mkdir -p ../out
|
|
|
|
COPY . .
|