Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (14 sloc) 720 Bytes
FROM maven:3-jdk-11-slim AS builder
WORKDIR /logistics
COPY pom.xml .
COPY logistics-ear ./logistics-ear
COPY logistics-ejb ./logistics-ejb
COPY logistics-web ./logistics-web
RUN mvn package
FROM jboss/wildfly:17.0.1.Final
LABEL maintainer "Gustavo Muniz do Carmo <gustavo@esign.com.br>"
ENV JAVA_OPTS -Dresteasy.preferJacksonOverJsonB=true -Djava.net.preferIPv4Stack=true
COPY standalone.xml /opt/jboss/wildfly/standalone/configuration/
COPY --from=builder /logistics/logistics-ear/target/logistics-ear-1.0-SNAPSHOT.ear /opt/jboss/wildfly/standalone/deployments/
RUN /opt/jboss/wildfly/bin/add-user.sh admin Admin#70365 --silent
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]
You can’t perform that action at this time.