This commit is contained in:
Léo 2025-03-11 21:58:24 +01:00
parent 2f2bd57356
commit 2f0c9d6f10
2 changed files with 2 additions and 4 deletions

View File

@ -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"]

View File

@ -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",