Created
December 17, 2019 23:04
-
-
Save Iduoad/913a3f557c91b80651a427abd31d815c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mongo:latest | |
RUN mkdir -p /data/db | |
RUN echo "bind_ip = 0.0.0.0" >> /etc/mongodb.conf | |
EXPOSE 27017 | |
CMD ["mongod"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment