This commit is contained in:
oneao committed 2025-10-21 17:31:36 +08:00
1 parent f1df74a4d1
commit 76c00b0680
5 files changed
+118 -27

No files matched your search

+9 -2
View File
@@ -21,10 +21,17 @@
"backgroundColor": "#ffffff"
},
"edgeToEdgeEnabled": true,
"predictiveBackGestureEnabled": false
"predictiveBackGestureEnabled": false,
"package": "com.oneao.baseexpoapp"
},
"web": {
"favicon": "./assets/favicon.png"
}
},
"extra": {
"eas": {
"projectId": "71ff7e2e-4fa3-46e0-b3ed-d8117eacb888"
}
},
"owner": "oneao"
}
}
-8
View File
@@ -1,13 +1,7 @@
FROM mobiledevops/android-sdk-image:latest
# 更新系统并安装 Node/npm
RUN apt update \
&& apt install -y nodejs npm
# 👉 设置 npm 镜像源(推荐使用官方 npmmirror)
RUN npm config set registry https://registry.npmmirror.com
# 全局工具安装
RUN npm i -g eas-cli expo yarn
COPY ./ /WWW/APP
@@ -16,7 +10,5 @@ WORKDIR /WWW/APP
ENV EXPO_TOKEN=FFb6cn9saprFaYji0JVywV0RiNIB7t-PpUKO3jKQ
ENV NODE_ENV=production
# 项目依赖安装(使用上面配置的镜像源)
RUN npm i
CMD eas build --platform android --profile release --local
+2 -2
View File
@@ -4,8 +4,8 @@
"main": "index.ts",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {