Commit a0b6df65 by nabil el mahiri

new clean docker file

parent bc63807d
Pipeline #478 failed with stages
in 1 minute 21 seconds
...@@ -40,8 +40,8 @@ RUN npm install --global grunt-cli ...@@ -40,8 +40,8 @@ RUN npm install --global grunt-cli
# 2. install mongo # 2. install mongo
# 3. create db folder # 3. create db folder
# 4. run mongo in background # 4. run mongo in background
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \
RUN echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/cmain" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list
RUN apt-get update && apt-get -yq install mongodb-org RUN apt-get update && apt-get -yq install mongodb-org
RUN mkdir -p /data/db RUN mkdir -p /data/db
RUN mongod --fork --syslog RUN mongod --fork --syslog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment