mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-03 02:24:36 +00:00
feat : 设置默认启动参数
This commit is contained in:
parent
705fde5897
commit
239381287c
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue