mirror of
https://github.com/PlayEdu/docker-playedu-light
synced 2025-12-21 06:15:57 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a6a0095c2 | ||
|
|
4737baff59 | ||
|
|
371e60ef21 | ||
|
|
3ed1549c4d |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -34,4 +34,4 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.IMAGE_FQDN }}:1.3
|
||||
${{ env.IMAGE_FQDN }}:1.4
|
||||
|
||||
12
Dockerfile
12
Dockerfile
@@ -7,7 +7,7 @@ RUN apt-get update && \
|
||||
RUN mkdir /app
|
||||
|
||||
WORKDIR /app
|
||||
RUN git clone -b dev https://github.com/PlayEdu/PlayEdu.git playedu
|
||||
RUN git clone -b v1.4 https://github.com/PlayEdu/PlayEdu.git playedu
|
||||
|
||||
# 编译jar包
|
||||
WORKDIR /app/playedu
|
||||
@@ -23,9 +23,9 @@ RUN apk update && \
|
||||
|
||||
# 编译后端
|
||||
WORKDIR /app
|
||||
RUN git clone -b dev https://github.com/PlayEdu/backend.git backend
|
||||
RUN git clone -b dev https://github.com/PlayEdu/frontend.git pc
|
||||
RUN git clone -b dev https://github.com/PlayEdu/h5.git h5
|
||||
RUN git clone -b v1.4 https://github.com/PlayEdu/backend.git backend
|
||||
RUN git clone -b v1.4 https://github.com/PlayEdu/frontend.git pc
|
||||
RUN git clone -b v1.4 https://github.com/PlayEdu/h5.git h5
|
||||
|
||||
# 编译后台
|
||||
WORKDIR /app/backend
|
||||
@@ -43,8 +43,8 @@ FROM eclipse-temurin:17
|
||||
|
||||
LABEL maintainer="0xtyz <tengyongzhi@meedu.vip>"
|
||||
|
||||
#使用东八区时间环境
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
# 使用东八区时间环境
|
||||
RUN echo "Asia/Shanghai" > /etc/timezone
|
||||
|
||||
#安装基本组件
|
||||
RUN apt update && apt install -y nginx
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
client_max_body_size 50m;
|
||||
|
||||
server {
|
||||
# 监听端口号9800
|
||||
listen 9800 default_server;
|
||||
|
||||
Reference in New Issue
Block a user