This commit is contained in:
xxx 2024-02-20 15:48:25 +08:00
parent a8525a0634
commit 026d993b01
2 changed files with 5 additions and 5 deletions

View File

@ -7,9 +7,9 @@ RUN apk update && \
# 编译后端
WORKDIR /app
RUN git clone -b 1.5 https://github.com/PlayEdu/backend.git backend
RUN git clone -b 1.5 https://github.com/PlayEdu/frontend.git pc
RUN git clone -b 1.5 https://github.com/PlayEdu/h5.git h5
RUN git clone -b 1.6 https://github.com/PlayEdu/backend.git backend
RUN git clone -b 1.6 https://github.com/PlayEdu/frontend.git pc
RUN git clone -b 1.6 https://github.com/PlayEdu/h5.git h5
# 编译后台
WORKDIR /app/backend
@ -23,7 +23,7 @@ RUN npm i && VITE_APP_URL=/api/ npm run build
WORKDIR /app/h5
RUN npm i && VITE_APP_URL=/api/ npm run build
FROM registry.cn-hangzhou.aliyuncs.com/playedu/api:1.5.2
FROM registry.cn-hangzhou.aliyuncs.com/playedu/api:1.6
LABEL maintainer="滕勇志 <tengyongzhi@meedu.vip>"

View File

@ -24,7 +24,7 @@ docker run -d --restart=always \
-e REDIS_DB=2 \
-e SA_TOKEN_IS_CONCURRENT=false \
-e SA_TOKEN_JWT_SECRET_KEY=playeduxyz \
registry.cn-hangzhou.aliyuncs.com/playedu/light:1.5.1
registry.cn-hangzhou.aliyuncs.com/playedu/light:1.6
```
跑起来之后,可以通过下面的链接访问前后台: