ARG BASE_TAG=3-latest FROM registry.nspop.dk/platform/nsp:${BASE_TAG} # Add empty luna module. It is requried for STS to start. In production it will be replaced with # real module by volume mount. ENV JBOSS_HOME /pack/wildfly # Copy the ear file to the deployment directory COPY dcc/target/decoupling.war /pack/wildfly/standalone/deployments/ # Fix for Error: Could not rename /opt/jboss/wildfly/standalone/configuration/standalone_xml_history/current RUN rm -rf /pack/wildfly/standalone/configuration/standalone_xml_history