15 lines
259 B
Docker
15 lines
259 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
|
|
ADD src ./src
|
|
COPY package*.json binding.gyp ./
|
|
|
|
RUN npm install
|
|
# RUN npm audit fix
|
|
|
|
COPY . .
|