您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516
  1. FROM node:lts
  2. RUN apt-get update && apt-get install -y libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2
  3. WORKDIR /problem
  4. ADD .yarnrc.yml .
  5. ADD .yarn ./.yarn/
  6. ADD package.json .
  7. ADD yarn.lock .
  8. RUN yarn
  9. ADD . .
  10. RUN yarn build
  11. CMD ["yarn", "start"]