fix: 调整充值限额并规范日志目录

This commit is contained in:
irving
2025-10-26 14:55:13 -04:00
parent 5a116eedf6
commit 38bc83d0f7
3 changed files with 8 additions and 4 deletions

View File

@@ -25,11 +25,14 @@ FROM --platform=$TARGETPLATFORM eclipse-temurin:11-jre AS runtime
RUN groupadd -g 1001 appgroup && useradd -u 1001 -g appgroup -m -s /usr/sbin/nologin appuser
WORKDIR /app
RUN mkdir -p /app/log
COPY --from=build /workspace/play-admin/target/*.jar /app/app.jar
RUN chown -R appuser:appgroup /app
USER appuser
ENV JAVA_OPTS="-Xms2g -Xmx2g" \
LOG_DIR="/app/log" \
SPRING_PROFILES_ACTIVE="test" \
TZ="Asia/Shanghai" \
LANG="C.UTF-8"