Added too much functionality with redis + fix for build docker stage and added run stage
Some checks failed
Build and push image / deploy (push) Failing after 27s
Some checks failed
Build and push image / deploy (push) Failing after 27s
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
FROM eclipse-temurin:21-jdk-jammy
|
||||
FROM maven:3.9.6-eclipse-temurin-21
|
||||
|
||||
# build
|
||||
WORKDIR app
|
||||
COPY pom.xml .
|
||||
RUN mvn -f /app/pom.xml clean package -Dmaven.test.skip=true
|
||||
COPY . .
|
||||
RUN mvn -f pom.xml clean package -Dmaven.test.skip=true
|
||||
|
||||
# run
|
||||
RUN java -jar target/testSteamPrices .jar
|
Reference in New Issue
Block a user