As the file is inside /liquibase/lib , you don't need the --classpath parameter. Try removing it.
Why? you are copying the file inside liquibase/lib directory:
RUN cp /node-app/run-custom-command.jar /liquibase/lib/run-custom-command.jar
Liquibase automatically loads everything inside this directory to the classpath, you don't need to use classpath if the file is there. After that you are pointing to it again using --classpath
(and I believe it should be --classpath=./lib/run-custom-command.jar
), so it may be causing some classloading issues as the file is being loaded twice ?