laradock/mongo/Dockerfile

13 lines
182 B
Docker
Raw Normal View History

2016-05-29 19:19:43 +08:00
FROM mongo:latest
2018-03-16 21:09:15 +08:00
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
2016-05-29 19:19:43 +08:00
#COPY mongo.conf /usr/local/etc/mongo/mongo.conf
2016-06-01 19:44:40 +08:00
VOLUME /data/db /data/configdb
2016-05-29 19:19:43 +08:00
2016-06-01 19:44:40 +08:00
CMD ["mongod"]
2016-05-29 19:19:43 +08:00
EXPOSE 27017