diff --git a/on-wildfly8/Dockerfile b/on-wildfly8/Dockerfile index 4793bde..1119ab2 100644 --- a/on-wildfly8/Dockerfile +++ b/on-wildfly8/Dockerfile @@ -9,4 +9,4 @@ RUN cd $HOME/wildfly \ && curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly8-$APIMAN_VERSION-overlay.zip | bsdtar -xvf- # Set the default command to run on boot -CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"] +ENTRYPOINT ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"] diff --git a/on-wildfly9/Dockerfile b/on-wildfly9/Dockerfile index 6fa24c1..aecf3ad 100644 --- a/on-wildfly9/Dockerfile +++ b/on-wildfly9/Dockerfile @@ -9,4 +9,4 @@ RUN cd $HOME/wildfly \ && curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly9-$APIMAN_VERSION-overlay.zip | bsdtar -xvf- # Set the default command to run on boot -CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"] +ENTRYPOINT ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"]