diff --git a/Dockerfile b/Dockerfile index b532e22..3242a5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/nuxt.config.ts b/nuxt.config.ts index d7ed04b..2e13cec 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -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'],