updated Dockerfile

This commit is contained in:
Marvin Zhang
2019-06-06 07:46:21 +08:00
parent 35e942d024
commit ce5e34c233
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
.idea
logs
*.log
node_modules
**/node_modules

View File

@@ -14,7 +14,7 @@ RUN ln -s /usr/bin/python3 /usr/local/bin/python
# install mongodb
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
RUN echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
RUN echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list
RUN apt-get update
RUN apt-get install -y mongodb-org
RUN service mongod start