add dependencies for chrome
このコミットが含まれているのは:
コミット
9665f483e4
16
Dockerfile
16
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
|
||||
|
|
読み込み中…
新しいイシューから参照