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