.
This commit is contained in:
parent
bc7128f75a
commit
2035d168ea
@ -5,8 +5,8 @@ COPY src ./src
|
|||||||
RUN mvn clean package -T12
|
RUN mvn clean package -T12
|
||||||
|
|
||||||
FROM openjdk:17.0.1-jdk-slim
|
FROM openjdk:17.0.1-jdk-slim
|
||||||
RUN java --version
|
|
||||||
WORKDIR /usr/local/app
|
WORKDIR /usr/local/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"]
|
||||||
|
CMD ["java", "--version"]
|
Loading…
x
Reference in New Issue
Block a user