FROM iojs:onbuild RUN ln -snf /usr/bin/nodejs /usr/bin/node RUN apt-get update && apt-get install -y python-dev build-essential python-pip git && pip install ansible && apt-get clean RUN npm install -g bower less ADD . /srv/semaphore WORKDIR /srv/semaphore RUN bower install --allow-root RUN npm install ENV NODE_ENV production CMD ["node", "/srv/semaphore/bin/semaphore"] EXPOSE 80