utilizar docker para ejecutar una version ya compilada, pendiente compilar y configurar usuario de jboss

This commit is contained in:
Gabriel Paradiso
2019-12-16 16:27:42 +01:00
parent cf2140d6c7
commit bece7c58d2
7 changed files with 610 additions and 0 deletions

11
4.docker/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
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"]