added workdir

This commit is contained in:
danielguerra69 2016-11-16 02:42:17 +01:00
parent 658e86ec18
commit ceb2c28fe7

View file

@ -13,6 +13,7 @@ RUN apk add xvfb openbox xterm@testing supervisor sudo \
&& echo "alpine ALL=(ALL) ALL" >> /etc/sudoers \ && echo "alpine ALL=(ALL) ALL" >> /etc/sudoers \
&& rm -rf /apk /tmp/* /var/cache/apk/* && rm -rf /apk /tmp/* /var/cache/apk/*
ADD etc /etc ADD etc /etc
WORKDIR /home/alpine
EXPOSE 5900 EXPOSE 5900
USER alpine USER alpine
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"] CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]