Initial updates server repository commit.

Reinitialize repository history and exclude generated OTA artifact outputs.

Made-with: Cursor
This commit is contained in:
2026-03-09 21:33:34 +08:00
commit a0ef7f430d
14 changed files with 1466 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# 使用Debian bookworm-slim作为生产镜像
FROM debian:bookworm-slim
# 安装必要的运行时依赖
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
tzdata \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
# 设置工作目录
WORKDIR /app
# 从宿主机复制编译好的二进制文件
COPY server ./expo-updates-server
# 给可执行文件添加执行权限
RUN chmod +x ./expo-updates-server
# 暴露端口
EXPOSE 3001
# 默认命令
CMD ["./expo-updates-server"]