|
@@ -1,3 +1,6 @@
|
|
|
FROM mongo:4.0
|
|
|
+ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
|
COPY mongo-healthcheck.sh /mongo-healthcheck.sh
|
|
|
-RUN chmod +x /mongo-healthcheck.sh
|
|
|
+COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
+RUN chmod +x /mongo-healthcheck.sh \
|
|
|
+ && chmod +x /docker-entrypoint.sh
|