Files
myhealth/4.docker/Dockerfile

11 lines
651 B
Docker

FROM jboss/wildfly:14.0.1.Final
ADD MyHealth.ear /opt/jboss/wildfly/standalone/deployments/
RUN mkdir /opt/jboss/wildfly/modules/system/layers/base/org/postgresql/
RUN mkdir /opt/jboss/wildfly/modules/system/layers/base/org/postgresql/main
ADD postgresql-9.4.1209.jar /opt/jboss/wildfly/modules/system/layers/base/org/postgresql/main
ADD module.xml /opt/jboss/wildfly/modules/system/layers/base/org/postgresql/main
ADD standalone.xml /opt/jboss/wildfly/standalone/configuration/standalone.xml
RUN /opt/jboss/wildfly/bin/add-user.sh USER PASSWORD#70365 --silent
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]