test/custom-admin-ui #3

Merged
orion merged 673 commits from test/custom-admin-ui into master 2026-06-05 17:20:58 +08:00
2 changed files with 221 additions and 207 deletions
Showing only changes of commit 4d54af968a - Show all commits
+16 -3
View File
@@ -1,11 +1,24 @@
FROM python:3.9.5-slim-buster FROM python:3.9.5-slim-buster
LABEL author="Lan" LABEL author="Lan"
LABEL email="vast@tom.com" LABEL email="xzu@live.com"
# 将当前目录下的文件复制到容器的 /app 目录
COPY . /app COPY . /app
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone # 设置时区为亚洲/上海
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
# 设置工作目录
WORKDIR /app WORKDIR /app
# 删除不必要的目录,减少镜像体积
RUN rm -rf docs fcb-fronted
# 安装依赖
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
# 暴露端口
EXPOSE 12345 EXPOSE 12345
# 启动应用
CMD ["python", "main.py"] CMD ["python", "main.py"]
+1
View File
@@ -5,6 +5,7 @@ export default defineConfig({
title: 'FileCodeBox', title: 'FileCodeBox',
description: '简单高效的文件分享工具', description: '简单高效的文件分享工具',
lang: 'zh-CN', lang: 'zh-CN',
base: 'FileCodeBox',
lastUpdated: true, lastUpdated: true,
locales: { locales: {
root: { root: {