test ssr
Some checks failed
Deploy / build (push) Failing after 13s

This commit is contained in:
Никита Круглицкий 2025-09-26 01:25:18 +06:00
parent 4fcd88e8e5
commit f335c90d13
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,8 @@ COPY package.json ./
COPY yarn.lock ./
RUN yarn install
COPY . .
RUN yarn generate
RUN yarn build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
FROM node:22-alpine
RUN --from=build PORT=80 node /app/.output/server/index.mjs
#COPY --from=build /app/dist /usr/share/nginx/html

View File

@ -1,6 +1,5 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
compatibilityDate: '2025-05-15',
devtools: { enabled: true },
modules: ['@nuxt/ui', '@nuxt/image', '@nuxt/icon', '@nuxt/fonts', '@nuxtjs/i18n'],