let it all run under user alpine

This commit is contained in:
danielguerra69 2016-10-15 20:54:08 +02:00
parent dece990bc2
commit 93b2500cc8

View file

@ -14,4 +14,5 @@ RUN apk add xvfb openbox xterm@testing supervisor sudo \
&& rm -rf /apk /tmp/* /var/cache/apk/* && rm -rf /apk /tmp/* /var/cache/apk/*
ADD etc /etc ADD etc /etc
EXPOSE 5900 EXPOSE 5900
USER alpine
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"] CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]