|
@@ -1,10 +1,12 @@
|
|
|
FROM ubuntu
|
|
FROM ubuntu
|
|
|
|
|
|
|
|
COPY ./test/acceptance/docker-entrypoint.sh /entrypoint.sh
|
|
COPY ./test/acceptance/docker-entrypoint.sh /entrypoint.sh
|
|
|
|
|
+RUN chmod +x /entrypoint.sh
|
|
|
|
|
|
|
|
-RUN apt-get update && apt-get upgrade
|
|
|
|
|
-RUN apt-get install build-essential redis-server mongodb-server nodejs npm
|
|
|
|
|
|
|
+RUN apt-get update && apt-get upgrade -y
|
|
|
|
|
+RUN apt-get install -y build-essential redis-server mongodb-server nodejs npm
|
|
|
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
|
RUN ln -s /usr/bin/nodejs /usr/bin/node
|
|
|
|
|
+RUN npm install -g grunt-cli
|
|
|
|
|
|
|
|
RUN mkdir /document-updater
|
|
RUN mkdir /document-updater
|
|
|
VOLUME /document-updater
|
|
VOLUME /document-updater
|