Dockerfile 351 Bytes
Newer Older
1 2
FROM node

iain8's avatar
iain8 committed
3
# install many dependencies for headless chromium
iain8's avatar
iain8 committed
4
RUN apt-get update \
iain8's avatar
iain8 committed
5 6 7
  && apt-get install -y libasound2 libatk1.0-0 libcups2 libgconf-2-4 \
  libgtk-3-0 libnss3 libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 \
  libxi6 libxrandr2 libxss1 libxtst6
iain8's avatar
iain8 committed
8

9 10 11
VOLUME ["/brainbox"]
ADD start.sh /start.sh
RUN chmod 755 /start.sh
iain8's avatar
iain8 committed
12
CMD ["/start.sh"]