Skip to content
Snippets Groups Projects
Commit 85537fea authored by Jan Pokorný's avatar Jan Pokorný :lifter_tone2:
Browse files

Fixing Dockerfile

parent ca857709
No related branches found
No related tags found
1 merge request!43Docker Rework
Pipeline #
This commit is part of merge request !43. Comments created here will be created in the context of that merge request.
......@@ -15,9 +15,9 @@ RUN mvn clean install -DskipTests
FROM eclipse-temurin:17-jre-focal AS confidential-client
COPY --from=build /build/confidentialClient/target/*.jar ./confidential-client.jar
COPY --from=build /build/confidentialClient/src/main/resources/*.properties ./etc/app.properties
COPY --from=build /build/confidentialClient/src/main/resources/*.yml ./etc/app.yml
EXPOSE 8080
CMD ["java", "-Dspring.config.location=/etc/app.properties", "-jar", "confidential-client.jar"]
CMD ["java", "-Dspring.config.location=/etc/app.yml", "-jar", "confidential-client.jar"]
FROM eclipse-temurin:17-jre-focal AS language-school
COPY --from=build /build/module-language-school/target/*.jar ./language-school.jar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment