mirror of
https://github.com/PlayEdu/docker-playedu-light
synced 2025-06-07 12:54:09 +08:00
1.6
This commit is contained in:
parent
a8525a0634
commit
026d993b01
@ -7,9 +7,9 @@ RUN apk update && \
|
|||||||
|
|
||||||
# 编译后端
|
# 编译后端
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN git clone -b 1.5 https://github.com/PlayEdu/backend.git backend
|
RUN git clone -b 1.6 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.6 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/h5.git h5
|
||||||
|
|
||||||
# 编译后台
|
# 编译后台
|
||||||
WORKDIR /app/backend
|
WORKDIR /app/backend
|
||||||
@ -23,7 +23,7 @@ RUN npm i && VITE_APP_URL=/api/ npm run build
|
|||||||
WORKDIR /app/h5
|
WORKDIR /app/h5
|
||||||
RUN npm i && VITE_APP_URL=/api/ npm run build
|
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>"
|
LABEL maintainer="滕勇志 <tengyongzhi@meedu.vip>"
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ docker run -d --restart=always \
|
|||||||
-e REDIS_DB=2 \
|
-e REDIS_DB=2 \
|
||||||
-e SA_TOKEN_IS_CONCURRENT=false \
|
-e SA_TOKEN_IS_CONCURRENT=false \
|
||||||
-e SA_TOKEN_JWT_SECRET_KEY=playeduxyz \
|
-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
|
||||||
```
|
```
|
||||||
|
|
||||||
跑起来之后,可以通过下面的链接访问前后台:
|
跑起来之后,可以通过下面的链接访问前后台:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user