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

This commit is contained in:
2024-03-18 18:20:27 +03:00
parent 1b2d3844d9
commit e7599f72da
7 changed files with 345 additions and 37 deletions

View File

@ -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