do not start apache if user specifies a command
This commit is contained in:
parent
228c72eea6
commit
720912dab1
|
|
@ -14,4 +14,4 @@ COPY rootfs/ /
|
|||
|
||||
EXPOSE 80 443
|
||||
VOLUME ["$BITNAMI_APP_VOL_PREFIX/conf", "$BITNAMI_APP_VOL_PREFIX/logs", "/app"]
|
||||
ENTRYPOINT ["/init"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -n "${1}" ]; then
|
||||
touch /etc/services.d/$BITNAMI_APP_NAME/down
|
||||
fi
|
||||
|
||||
exec /init "$@"
|
||||
Loading…
Reference in New Issue