parent
4fcd88e8e5
commit
f335c90d13
@ -4,7 +4,8 @@ COPY package.json ./
|
|||||||
COPY yarn.lock ./
|
COPY yarn.lock ./
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn generate
|
RUN yarn build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM node:22-alpine
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
RUN --from=build PORT=80 node /app/.output/server/index.mjs
|
||||||
|
#COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
ssr: false,
|
|
||||||
compatibilityDate: '2025-05-15',
|
compatibilityDate: '2025-05-15',
|
||||||
devtools: { enabled: true },
|
devtools: { enabled: true },
|
||||||
modules: ['@nuxt/ui', '@nuxt/image', '@nuxt/icon', '@nuxt/fonts', '@nuxtjs/i18n'],
|
modules: ['@nuxt/ui', '@nuxt/image', '@nuxt/icon', '@nuxt/fonts', '@nuxtjs/i18n'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user