yes?
This commit is contained in:
parent
dc46c44535
commit
be419ef5b9
@ -2,10 +2,11 @@ FROM maven:3.8.5-openjdk-17-slim AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY pom.xml .
|
COPY pom.xml .
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
RUN mvn package -T12
|
RUN mvn clean package -T12
|
||||||
|
|
||||||
FROM openjdk:11-ea-17-jre-slim
|
FROM openjdk:11-ea-17-jre-slim
|
||||||
WORKDIR /app
|
WORKDIR /usr/local/app
|
||||||
|
RUN ls -la /app
|
||||||
COPY --from=builder /app/target/LicenseServer.jar .
|
COPY --from=builder /app/target/LicenseServer.jar .
|
||||||
EXPOSE 7500
|
EXPOSE 7500
|
||||||
CMD ["java", "-jar", "LicenseServer.jar"]
|
CMD ["java", "-jar", "LicenseServer.jar"]
|
Loading…
x
Reference in New Issue
Block a user