sk_fems_apigw commit

This commit is contained in:
unknown
2025-07-12 15:03:31 +09:00
parent b6841161e1
commit c7414f013c
24 changed files with 1739 additions and 0 deletions

13
Dockerfile.keti Normal file
View File

@ -0,0 +1,13 @@
# Build stage
FROM maven:3.6.0-jdk-11-slim AS build
COPY src /app/src
COPY pom.xml /app
RUN mvn -f /app/pom.xml clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
# Package stage
FROM openjdk:11-jre-slim
COPY --from=build /app/target/*.jar /usr/local/lib/apigw.jar
EXPOSE 9999
ENV SPRING_PROFILES_ACTIVE docker
ENV SYS_SETTING ""
ENTRYPOINT ["java","-jar","/usr/local/lib/apigw.jar", "--spring.profiles.active=${SPRING_PROFILES_ACTIVE}", "${SYS_SETTING}"]