run as node
This commit is contained in:
parent
ff0faba3f7
commit
5e4da721c8
|
@ -12,5 +12,5 @@ RUN npm install --omit=dev
|
||||||
|
|
||||||
COPY . /src
|
COPY . /src
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
CMD npm run preview -- --host
|
# CMD npm run preview -- --host
|
||||||
# CMD node .output/server/index.mjs
|
CMD node .output/server/index.mjs
|
|
@ -11,11 +11,6 @@ export default defineNuxtConfig({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
vue: {
|
|
||||||
compilerOptions: {
|
|
||||||
isCustomElement: (tag) => ['nobr'].includes(tag),
|
|
||||||
}
|
|
||||||
},
|
|
||||||
ssr: true,
|
ssr: true,
|
||||||
modules: [
|
modules: [
|
||||||
'@nuxtjs/tailwindcss',
|
'@nuxtjs/tailwindcss',
|
||||||
|
@ -42,7 +37,7 @@ export default defineNuxtConfig({
|
||||||
'/index.php': { redirect: '/' },
|
'/index.php': { redirect: '/' },
|
||||||
},
|
},
|
||||||
nitro: {
|
nitro: {
|
||||||
minify: false,
|
// minify: false,
|
||||||
prerender: {
|
prerender: {
|
||||||
crawlLinks: false
|
crawlLinks: false
|
||||||
},
|
},
|
||||||
|
@ -51,7 +46,7 @@ export default defineNuxtConfig({
|
||||||
assetsInclude: ['**/*.glb', '**/*.gltf'],
|
assetsInclude: ['**/*.glb', '**/*.gltf'],
|
||||||
build: {
|
build: {
|
||||||
// minify: 'esbuild'
|
// minify: 'esbuild'
|
||||||
minify: false
|
// minify: false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
robots: {
|
robots: {
|
||||||
|
|
Loading…
Reference in New Issue