feat : 设置默认启动参数

This commit is contained in:
翟二远 2026-04-07 18:52:28 +08:00
parent 705fde5897
commit 239381287c

View file

@ -43,6 +43,10 @@ RUN ./mvnw package -DskipTests -B
# ---- Runtime Stage ----
FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/eclipse-temurin:21-jre-alpine
ARG SPRING_PROFILES_ACTIVE=dev
ENV SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE}
RUN addgroup -S app && adduser -S app -G app
WORKDIR /app