feat: 新增环境变量
This commit is contained in:
parent
4913e96586
commit
ea8a00e2ab
@ -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 服务器
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user