coba dari awal
This commit is contained in:
parent
89dff0d949
commit
aba35edfd8
@ -11,7 +11,7 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Dockerfile untuk server Nuxt 3
|
# Dockerfile untuk server Nuxt 3
|
||||||
FROM node:24-alpine
|
FROM node:24-alpine AS runner
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -21,7 +21,6 @@ COPY --from=builder /app/.output ./output
|
|||||||
COPY --from=builder /app/node_modules ./node_modules
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
COPY --from=builder /app/package*.json ./
|
COPY --from=builder /app/package*.json ./
|
||||||
|
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["node", "output/server/index.mjs"]
|
CMD ["node", "output/server/index.mjs"]
|
||||||
|
|||||||
@ -74,8 +74,4 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
ssr: false,
|
ssr: false,
|
||||||
|
|
||||||
nitro: {
|
|
||||||
logLevel: 'debug'
|
|
||||||
},
|
|
||||||
|
|
||||||
});
|
});
|
||||||
Loading…
Reference in New Issue
Block a user