Resolve container build errors
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ FROM oven/bun:1-alpine AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json bun.lockb* ./
|
COPY package.json bun.lockb* ./
|
||||||
RUN bun install --frozen-lockfile
|
RUN bun install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
ARG VITE_API_BASE_URL=http://localhost:5000/api/v1
|
ARG VITE_API_BASE_URL=http://localhost:5000/api/v1
|
||||||
|
|||||||
+4
-1
@@ -5,7 +5,7 @@ import { componentTagger } from "lovable-tagger";
|
|||||||
|
|
||||||
export default defineConfig(({ mode }) => {
|
export default defineConfig(({ mode }) => {
|
||||||
const env = loadEnv(mode, process.cwd(), "");
|
const env = loadEnv(mode, process.cwd(), "");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
server: {
|
server: {
|
||||||
host: "::",
|
host: "::",
|
||||||
@@ -21,5 +21,8 @@ export default defineConfig(({ mode }) => {
|
|||||||
"@": path.resolve(__dirname, "./src"),
|
"@": path.resolve(__dirname, "./src"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
target: "esnext",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user