diff --git a/.env.local b/.env.local index 810fa17..6868412 100644 --- a/.env.local +++ b/.env.local @@ -1,4 +1,4 @@ #.env.local NODE_ENV=local -VUE_APP_AXIOS_BASEURL=http://10.20.52.86:8888 -VUE_APP_HOME_PAGE_URL=http://localhost +VUE_APP_AXIOS_BASEURL=http://127.0.0.1:9810 +VUE_APP_HOME_PAGE_URL=http://127.0.0.1:8080 diff --git a/Dockerfile b/Dockerfile index be75de1..19f9fb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,11 @@ # SPDX-License-Identifier: LGPL-3.0-or-later FROM hub.deepin.com/library/node:16 AS builder -WORKDIR /linglong-web-store +WORKDIR /src COPY . . -RUN yarn --registry=http://registry-npm.sndu.cn/ install && yarn build +RUN set -eux; \ + yarn install; \ + yarn build FROM hub.deepin.com/library/nginx:latest -COPY --from=builder /linglong-web-store/dist/ /usr/share/nginx/html \ No newline at end of file +COPY --from=builder /src/dist/ /usr/share/nginx/html \ No newline at end of file diff --git a/src/components/Main.vue b/src/components/Main.vue index 3859ad7..c3820aa 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -9,8 +9,7 @@