feat(deploy): 在同一台机器上接入继续教育和 Dify

4 核 8G 同时跑协会站点、PlayEdu 和估价智能体,并让门户专家页底色透出页面背景。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-23 14:12:18 +08:00
1 parent 1b33361209
commit a8e2e741d1
24 files changed
+1035 -85

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
FROM eclipse-temurin:17-jre-jammy-amd64
RUN sed -i \
-e 's|http://archive.ubuntu.com|http://mirrors.aliyun.com|g' \
-e 's|http://security.ubuntu.com|http://mirrors.aliyun.com|g' \
/etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends nginx curl \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /etc/nginx/sites-enabled/default
COPY nginx.conf /etc/nginx/sites-enabled/default
COPY app.jar /app/api/app.jar
COPY pc /app/pc
COPY h5 /app/h5
COPY admin /app/admin
ENV JAVA_TOOL_OPTIONS="-XX:+UseContainerSupport -XX:InitialRAMPercentage=20 -XX:MaxRAMPercentage=60"
EXPOSE 9898 9800 9801 9900
CMD ["sh", "-c", "nginx && exec java -jar /app/api/app.jar"]