diff --git a/Dockerfile b/Dockerfile index 2964668..11e107d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,22 @@ COPY package.json /usr/src/app/ RUN npm i --registry=https://registry.npm.taobao.org +RUN apt update && \ + DEBIAN_FRONTEND=noninteractive apt install -y \ + libnss3 \ + libatk1.0-0 \ + libatk-bridge2.0-0 \ + libcups2 \ + libdrm2 \ + libxkbcommon0 \ + libxcomposite1 \ + libxdamage1 \ + libxfixes3 \ + libxrandr2 \ + libgbm1 \ + libasound2 \ + && rm -rf /var/lib/apt/lists/* + COPY . /usr/src/app EXPOSE 3000