From 1b202deb8a1a7e522296a9cbe9d0a7094b07181a Mon Sep 17 00:00:00 2001 From: kokopi Date: Tue, 10 Mar 2026 01:15:09 +0900 Subject: [PATCH] fix:deploy --- backend/Dockerfile | 1 + frontend/Dockerfile | 5 +---- frontend/src/App.tsx | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 22cddce..851bc5f 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -6,6 +6,7 @@ COPY package.json ./ COPY drizzle.config.ts ./ COPY drizzle/ ./drizzle/ COPY src/ ./src/ +COPY .env ./ RUN bun install --frozen-lockfile diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 28a367a..7bd123d 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -8,10 +8,7 @@ COPY tsconfig*.json ./ COPY vite.config.ts ./ COPY src/ ./src/ COPY public/ ./public/ - -# VITE_API_URL must be set at build time — Vite bakes it into the bundle -ARG VITE_API_URL -ENV VITE_API_URL=$VITE_API_URL +COPY .env ./ RUN bun install --frozen-lockfile RUN bun run build diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 62842ba..b182aef 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -63,7 +63,7 @@ function SupportApp() { export default function App() { return ( - + } /> } />