Resolve container build errors

This commit is contained in:
2026-04-26 07:06:34 +00:00
parent 6f1b74850c
commit 1e0ba4afcc
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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
+4 -1
View File
@@ -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",
},
};
});