diff --git a/Dockerfile b/Dockerfile index 8724be5..6ae1250 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY . . RUN npm run build # Dockerfile untuk server Nuxt 3 -FROM node:24-alpine +FROM node:24-alpine AS runner WORKDIR /app @@ -21,7 +21,6 @@ COPY --from=builder /app/.output ./output COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package*.json ./ - EXPOSE 3000 CMD ["node", "output/server/index.mjs"] diff --git a/nuxt.config.ts b/nuxt.config.ts index 5e4800a..1f04bf9 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -73,9 +73,5 @@ export default defineNuxtConfig({ }, ssr: false, - - nitro: { - logLevel: 'debug' - }, }); \ No newline at end of file