Compare commits
3
Commits
master
...
mvn-entrypoint
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39a32b2023 | ||
|
|
a5df92eebe | ||
|
|
d0f398ebc1 |
@@ -16,7 +16,7 @@ COPY ./pom.xml ./pom.xml
|
||||
RUN chmod 755 /app/mvnw
|
||||
|
||||
RUN ./mvnw dependency:go-offline -B
|
||||
|
||||
RUN ./mvnw package -DskipTests
|
||||
# RUN ls -al
|
||||
# ENTRYPOINT ["java","-jar","com.iontech:product-service:0.0.1-SNAPSHOT.jar"]
|
||||
|
||||
ENTRYPOINT ["java","-jar","./target/product-service-0.0.1-SNAPSHOT.jar"]
|
||||
# ENTRYPOINT ["./mvnw", "exec:java", "-Dexec.mainClass=\"com.iontech.product-service.ProductServiceApplication\""]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
spring.data.mongodb.host=localhost
|
||||
spring.data.mongodb.host=mongo
|
||||
spring.data.mongodb.port=27017
|
||||
spring.data.mongodb.database=product-service
|
||||
spring.data.mongodb.database=product-service
|
||||
|
||||
Reference in New Issue
Block a user