From 031851722b5cff1837506e592cf149b2f56dd91c Mon Sep 17 00:00:00 2001 From: Type-32 Date: Thu, 29 Feb 2024 20:51:02 +0800 Subject: [PATCH] Changing Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 53077e1..9539020 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,10 @@ RUN npm install COPY . . -RUN npm run build +RUN npm install npx + +RUN npx nuxi generate EXPOSE 3000 -CMD [ "npm", "run", "preview" ] \ No newline at end of file +CMD [ "npx", "serve", ".output/public" ] \ No newline at end of file