FROM jboss/wildfly:19.0.0.Final
ADD ./standalone.conf /opt/jboss/wildfly/bin
ADD ./target/openapi-client.war /opt/jboss/wildfly/standalone/deployments/
RUN /opt/jboss/wildfly/bin/add-user.sh admin admin --silent
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]
