Skip to content

Commit 987512d

Browse files
committed
feat: add docker deploy
1 parent 3d418bf commit 987512d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ WORKDIR /app
1515
COPY --from=build /app/app/target/tiny-engine-app-*.jar /app/tiny-engine-app.jar
1616
COPY --from=build /app/base/target/tiny-engine-base-*.jar /app/tiny-engine-base.jar
1717

18-
ENTRYPOINT ["java", "-jar", "tiny-engine-app.jar", "--spring.profiles.active=dev"]
18+
ENTRYPOINT ["java", "-jar", "tiny-engine-app.jar", "--spring.profiles.active=alpha"]
1919
EXPOSE 9090
2020

app/src/main/resources/application-alpha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spring:
2727
max-open-prepared-statements: 20 # 最大缓存的 PreparedStatement 数量,默认值为 -1,表示无限制。如果 `pool-prepared-statements` 设置为 true,设置此值以限制缓存数量。
2828
config:
2929
activate:
30-
on-profile: dev
30+
on-profile: alpha
3131
#切面启用
3232
aop:
3333
proxy-target-class: true #默认为false

0 commit comments

Comments
 (0)