Use --no-sandbox by default in docker

This commit is contained in:
Tulir Asokan 2020-08-24 23:28:46 +03:00
parent a80e77ab3f
commit 5c7faa01a6
1 changed files with 1 additions and 1 deletions

View File

@ -14,4 +14,4 @@ COPY package.json yarn.lock ./
RUN yarn --production && rm -rf node_modules/puppeteer/.local-chromium
COPY . /opt/mautrix-amp/puppet
CMD ["yarn", "start", "--config", "/data/config.json", "--browser", "/usr/lib/chromium/chrome"]
CMD ["yarn", "start", "--config", "/data/config.json", "--browser", "/usr/lib/chromium/chrome", "--no-sandbox"]