1234567891011 |
- FROM l7871878100/openjdk:jdk-17-ubuntu
- #FROM l7871878100/openjdk:jdk-17-centos
- RUN mkdir /app
- COPY ./mainFactory/target/mainFactory-1.0-SNAPSHOT.jar /app/app.jar
- ENV ACTIVE=default
- EXPOSE 8080
- ENTRYPOINT ["java","-jar","-Dspring.profiles.active=${ACTIVE}","/app/app.jar"]
|