mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 21:49:19 +08:00
feat(部署): 优化部署目录
This commit is contained in:
@@ -8,4 +8,5 @@ RUN addgroup -S app && adduser -S app -G app
|
||||
USER app
|
||||
# 实际端口由 Spring profile 决定(test:8101 / pre:8102 / prod:8103)
|
||||
EXPOSE 8101 8102 8103
|
||||
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
|
||||
# 环境 yml 与 app.jar 同级;license 等仍在 ./config/
|
||||
ENTRYPOINT ["java", "-jar", "/app/app.jar", "--spring.config.additional-location=optional:file:./"]
|
||||
|
||||
Reference in New Issue
Block a user