mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

- Keep the parameter optional - Remove redundant checking of the same parameter - Do not exit if the parameter is not specified
13 lines
351 B
Docker
13 lines
351 B
Docker
FROM mongo:3.4.10
|
|
LABEL maintainer "dev@bigchaindb.com"
|
|
WORKDIR /
|
|
RUN apt-get update \
|
|
&& apt-get -y upgrade \
|
|
&& apt-get autoremove \
|
|
&& apt-get clean
|
|
COPY mongod.conf.template /etc/mongod.conf
|
|
COPY mongod_entrypoint.bash /
|
|
VOLUME /data/db /data/configdb /etc/mongod/ssl /etc/mongod/ca
|
|
EXPOSE 27017
|
|
ENTRYPOINT ["/mongod_entrypoint.bash"]
|