Initial commit: restore project after Git corruption

This commit is contained in:
2025-10-21 18:29:15 +08:00
commit 0bb423fcca
112 changed files with 19665 additions and 0 deletions

27
Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
FROM oven/bun:alpine
# From bun:latest
# 创建应用目录
WORKDIR /app
COPY server/package.json ./
# 复制源码
COPY ./server ./
COPY ./server/code ./code-backup
COPY ./web/dist ./demo/root/light-code-center
RUN bun install
# 构建(可选)
# RUN bun run build
# 暴露端口
EXPOSE 4005
# 启动服务
CMD ["bun", "start"]
# 保持容器运行
# CMD ["tail", "-f", "/dev/null"]