From 2f0c9d6f1076fa7b68fa061fc8325b6e94717ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o?= Date: Tue, 11 Mar 2025 21:58:24 +0100 Subject: [PATCH] prod fix --- Dockerfile | 4 ++-- vite.config.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef2d442..45fe09b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM node:22-alpine WORKDIR /app COPY package.json pnpm-lock.yaml ./ -RUN npm install -g pnpm && pnpm install +RUN npm install COPY . . -RUN pnpm run build +RUN npm run build RUN npm install -g serve EXPOSE 5001 CMD ["serve", "-s", "dist", "-l", "5001"] \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index bd26902..7071315 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,8 +1,6 @@ import { defineConfig } from 'vite'; -import vue from '@vitejs/plugin-vue'; export default defineConfig({ - plugins: [vue()], server: { port: 5001, host: "0.0.0.0",