diff --git a/Dockerfile b/Dockerfile index b89f018..bf123fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM oven/bun:1-alpine AS builder WORKDIR /app COPY package.json bun.lockb* ./ -RUN bun install --frozen-lockfile +RUN bun install COPY . . ARG VITE_API_BASE_URL=http://localhost:5000/api/v1 diff --git a/vite.config.ts b/vite.config.ts index 475894a..5fee80e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -19,6 +19,7 @@ export default defineConfig(({ mode }) => { const themeColor = `hsl(${colors.primary})`; + return { server: { host: "::", @@ -65,5 +66,8 @@ export default defineConfig(({ mode }) => { "@": path.resolve(__dirname, "./src"), }, }, + build: { + target: "esnext", + }, }; });