2016-07-07 11:07:14 -04:00
|
|
|
FROM ubuntu
|
|
|
|
|
2016-07-08 10:52:02 -04:00
|
|
|
COPY ./test/acceptance/scripts/docker-entrypoint.sh /entrypoint.sh
|
2016-07-08 05:51:22 -04:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2016-07-07 11:07:14 -04:00
|
|
|
|
2016-07-08 05:51:22 -04:00
|
|
|
RUN apt-get update && apt-get upgrade -y
|
|
|
|
RUN apt-get install -y build-essential redis-server mongodb-server nodejs npm
|
2016-07-07 11:07:14 -04:00
|
|
|
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
2016-07-08 05:51:22 -04:00
|
|
|
RUN npm install -g grunt-cli
|
2016-07-07 11:07:14 -04:00
|
|
|
|
|
|
|
RUN mkdir /document-updater
|
|
|
|
VOLUME /document-updater
|
|
|
|
|
|
|
|
ENTRYPOINT /entrypoint.sh
|