p5.js-web-editor/mongo/Dockerfile

13 lines
272 B
Docker
Raw Normal View History

2018-06-26 01:13:31 +02:00
# Use an official mongo runtime as a parent image
FROM mongo:3.4
# Expose the mongo port
EXPOSE 27017
# Copy the mongod.conf file to env
# COPY mongod.conf /env/
# Copy the entrypoint file as well
COPY ./docker-entrypoint.sh .
CMD ["/bin/bash", "docker-entrypoint.sh"]