fix(:chrome): fix

This commit is contained in:
Philipp Kunz 2018-05-16 01:08:52 +02:00
parent 4bd28a3a54
commit 21189adb66

View File

@ -20,8 +20,7 @@ RUN apt-get update && apt-get install -y wget --no-install-recommends \
# Add user so we don't need --no-sandbox. # Add user so we don't need --no-sandbox.
RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \ RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
&& mkdir -p /home/pptruser/Downloads \ && mkdir -p /home/pptruser/Downloads \
&& chown -R pptruser:pptruser /home/pptruser \ && chown -R pptruser:pptruser /home/pptruser
&& chown -R pptruser:pptruser /node_modules
# Run everything after as non-privileged user. # Run everything after as non-privileged user.
USER pptruser USER pptruser