2016-07-07 15:07:14 +00:00
|
|
|
FROM ubuntu
|
|
|
|
|
2016-07-08 14:52:02 +00:00
|
|
|
COPY ./test/acceptance/scripts/docker-entrypoint.sh /entrypoint.sh
|
2016-07-08 09:51:22 +00:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2016-07-07 15:07:14 +00:00
|
|
|
|
2016-07-08 09:51:22 +00: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 15:07:14 +00:00
|
|
|
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
2016-07-08 09:51:22 +00:00
|
|
|
RUN npm install -g grunt-cli
|
2016-07-07 15:07:14 +00:00
|
|
|
|
|
|
|
RUN mkdir /document-updater
|
|
|
|
VOLUME /document-updater
|
|
|
|
|
|
|
|
ENTRYPOINT /entrypoint.sh
|