From eb287f35fbc2bf53bbbecd7c55efce3c7fbc04e4 Mon Sep 17 00:00:00 2001 From: longdayi <13477510+longdayilongdayi@user.noreply.gitee.com> Date: Fri, 3 Jan 2025 09:24:55 +0800 Subject: [PATCH] 01030924 --- Dockerfile | 18 ++++++++++++++++-- apps/server/src/upload/upload.service.ts | 2 ++ apps/web/index.html | 2 +- .../src/components/layout/main/top-nav-bar.tsx | 2 +- docker-compose.example.yml | 2 +- 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 53cb919..979066f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -100,5 +100,19 @@ RUN apk add --no-cache gettext # 暴露 80 端口 EXPOSE 80 -# 可选:复制自定义的 nginx 配置 -# COPY nginx.conf /etc/nginx/nginx.conf \ No newline at end of file +FROM tusproject/tusd as tusd + +USER root + +# 创建一个包装脚本 +COPY < - 烽火mooc + fhmooc diff --git a/apps/web/src/components/layout/main/top-nav-bar.tsx b/apps/web/src/components/layout/main/top-nav-bar.tsx index d1a4e7f..0d5aae6 100644 --- a/apps/web/src/components/layout/main/top-nav-bar.tsx +++ b/apps/web/src/components/layout/main/top-nav-bar.tsx @@ -28,7 +28,7 @@ export function TopNavBar({

- 烽火mooc + fhmooc

diff --git a/docker-compose.example.yml b/docker-compose.example.yml index edd65ec..fded013 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -81,7 +81,7 @@ services: # environment: # - VITE_APP_SERVER_IP=192.168.79.77 # - VITE_APP_VERSION=0.3.0 - # - VITE_APP_APP_NAME=烽火慕课 + # - VITE_APP_APP_NAME=fh慕课 # server: # image: td-server:latest # ports: