docs(troubleshooting.md): fix alpine install adduser command (#8068)

This commit is contained in:
kirintw 2022-02-25 19:13:37 +08:00 committed by GitHub
parent 85decdc28d
commit 213deb1921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
RUN yarn add puppeteer@10.0.0
# Add user so we don't need --no-sandbox.
RUN addgroup -S pptruser && adduser -S -g pptruser pptruser \
RUN addgroup -S pptruser && adduser -S -G pptruser pptruser \
&& mkdir -p /home/pptruser/Downloads /app \
&& chown -R pptruser:pptruser /home/pptruser \
&& chown -R pptruser:pptruser /app