feat: 新增环境变量
All checks were successful
Dev Deploy / Explore-Gitea-Actions (push) Successful in 23s
Prod Deploy / Explore-Gitea-Actions (push) Successful in 24s

This commit is contained in:
Junhui Chen 2025-07-14 21:09:19 +08:00
parent 4913e96586
commit ea8a00e2ab

View File

@ -7,6 +7,7 @@ RUN npm config set registry http://192.168.31.115:8081/repository/npm/
RUN npm install -g expo-cli && npm install RUN npm install -g expo-cli && npm install
COPY . . COPY . .
RUN cp .env.production .env RUN cp .env.production .env
ENV API_ENDPOINT=https://api.memorywake.com/api
RUN npx expo export -p web RUN npx expo export -p web
# 第二阶段:使用 nginx 作为 Web 服务器 # 第二阶段:使用 nginx 作为 Web 服务器