run as node #51

Merged
ksenia_mikhailova merged 1 commits from bx-1146-more_calc into dev 2024-07-25 13:42:35 +03:00
2 changed files with 4 additions and 9 deletions

View File

@ -12,5 +12,5 @@ RUN npm install --omit=dev
COPY . /src
RUN npm run build
CMD npm run preview -- --host
# CMD node .output/server/index.mjs
# CMD npm run preview -- --host
CMD node .output/server/index.mjs

View File

@ -11,11 +11,6 @@ export default defineNuxtConfig({
},
},
},
vue: {
compilerOptions: {
isCustomElement: (tag) => ['nobr'].includes(tag),
}
},
ssr: true,
modules: [
'@nuxtjs/tailwindcss',
@ -42,7 +37,7 @@ export default defineNuxtConfig({
'/index.php': { redirect: '/' },
},
nitro: {
minify: false,
// minify: false,
prerender: {
crawlLinks: false
},
@ -51,7 +46,7 @@ export default defineNuxtConfig({
assetsInclude: ['**/*.glb', '**/*.gltf'],
build: {
// minify: 'esbuild'
minify: false
// minify: false
},
},
robots: {