2023-01-03 04:05:12 +01:00
|
|
|
FROM node:18-bullseye
|
|
|
|
|
|
|
|
RUN apt-get update
|
2024-03-03 21:50:27 +01:00
|
|
|
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
|
|
|
xauth xvfb chromium firefox-esr
|
2023-01-03 04:05:12 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
ADD src ./src
|
|
|
|
COPY package*.json binding.gyp ./
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
# RUN npm audit fix
|
|
|
|
|
|
|
|
COPY . .
|