2023-11-02 06:13:22 +01:00
|
|
|
FROM node:18-bullseye
|
2022-12-23 22:21:06 +01:00
|
|
|
|
|
|
|
RUN apt-get update
|
2024-03-01 01:06:09 +01:00
|
|
|
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
|
|
|
xauth xvfb chromium firefox-esr
|
2022-12-23 22:21:06 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json binding.gyp *.cc ./
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
RUN npm audit fix
|
|
|
|
|
|
|
|
RUN mkdir -p ../out
|
|
|
|
|
|
|
|
COPY . .
|