Skip to content
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 <>"
ENV JAVA_OPTS -Dresteasy.preferJacksonOverJsonB=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/ admin Admin#70365 --silent
CMD ["/opt/jboss/wildfly/bin/", "-b", "", "-bmanagement", ""]
You can’t perform that action at this time.