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