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 9db64c3..411fb68 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,7 +5,7 @@ import { componentTagger } from "lovable-tagger"; export default defineConfig(({ mode }) => { const env = loadEnv(mode, process.cwd(), ""); - + return { server: { host: "::", @@ -21,5 +21,8 @@ export default defineConfig(({ mode }) => { "@": path.resolve(__dirname, "./src"), }, }, + build: { + target: "esnext", + }, }; });