Semaphore/Dockerfile
2015-03-31 17:45:37 +03:00

17 lines
388 B
Docker

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