File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,19 @@ FROM node:20-alpine AS build
22
33WORKDIR /var/www
44
5+ COPY . .
6+
57ARG VITE_DOCS_BASEPATH
68ARG VITE_DOCS_EXAMPLES_REACT_PATH
79ARG VITE_DOCS_EXAMPLES_VUE_PATH
810ARG ENVIRONMENT
911
1012ENV VITE_DOCS_BASEPATH=$VITE_DOCS_BASEPATH
13+ ENV NUXT_APP_BASE_URL=$VITE_DOCS_BASEPATH
1114ENV VITE_DOCS_EXAMPLES_REACT_PATH=$VITE_DOCS_EXAMPLES_REACT_PATH
1215ENV VITE_DOCS_EXAMPLES_VUE_PATH=$VITE_DOCS_EXAMPLES_VUE_PATH
1316ENV ENVIRONMENT=$ENVIRONMENT
1417
15- COPY . .
1618RUN yarn
1719RUN ENV_NAME=$ENVIRONMENT yarn build:replace-assets-url-with
1820RUN yarn build:vue
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ ENV TARGET_DOMAIN=$TARGET_DOMAIN
66
77COPY .vuestorefrontcloud/router/docker/default.conf.template /etc/nginx/conf.d/default.conf.template
88
9- RUN envsubst < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
9+ RUN envsubst '$TARGET_DOMAIN' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change 33export default defineNuxtConfig ( {
44 extends : [ 'sf-docs-base' ] ,
55 app : {
6- baseURL : process . env . VITE_DOCS_BASEPATH ?? '' ,
7-
86 head : {
97 link : [
108 {
@@ -15,10 +13,10 @@ export default defineNuxtConfig({
1513 } ,
1614 } ,
1715 robots : {
18- enabled : false
16+ enabled : false ,
1917 } ,
2018 sitemap : {
21- enabled : false
19+ enabled : false ,
2220 } ,
2321 // fix via https://github.com/nuxt/content/issues/2254
2422 alias : {
You can’t perform that action at this time.
0 commit comments