Initialize Spring Boot application with HTTPS support and add Docker configuration

This commit is contained in:
liosha84
2025-07-28 13:48:47 +03:00
parent c58dd4ac5c
commit 90b2eaa036
15 changed files with 520 additions and 0 deletions
@@ -0,0 +1,10 @@
FROM openjdk:20 as build
WORKDIR /app
COPY . ./
RUN microdnf install findutils
RUN ./gradlew build -x test
FROM openjdk:20-jdk-slim
WORKDIR /app
COPY --from=build /app/build/libs/spring-boot-https-0.0.1.jar .
CMD ["java", "-jar", "spring-boot-https-0.0.1.jar"]