diff --git a/compose.coolify.yml b/compose.coolify.yml index f3e3501..5843694 100644 --- a/compose.coolify.yml +++ b/compose.coolify.yml @@ -16,7 +16,7 @@ services: REDIS_HOST: ${REDIS_HOST:-redis} REDIS_PORT: ${REDIS_PORT:-6379} JWT_SECRET: ${JWT_SECRET} - ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://agenthub-v2.barodine.net} + ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-https://agenthub.barodine.net,https://dashboard.barodine.net} networks: - default - coolify @@ -94,7 +94,7 @@ services: context: ./web dockerfile: Dockerfile args: - VITE_API_URL: ${VITE_API_URL:-https://agenthub-v2.barodine.net} + VITE_API_URL: ${VITE_API_URL:-https://agenthub.barodine.net} networks: - default - coolify diff --git a/web/Dockerfile b/web/Dockerfile index 880bc34..1dccb07 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app COPY package.json package-lock.json ./ RUN --mount=type=cache,target=/root/.npm \ - npm ci --prefer-offline + NODE_ENV=development npm ci --prefer-offline # ───────────────────────────────────────────────────────────────────────────── # Stage 2: Build @@ -22,7 +22,7 @@ ARG VITE_API_URL=http://localhost:3000 ENV VITE_API_URL=${VITE_API_URL} COPY package.json package-lock.json ./ -RUN npm ci +RUN NODE_ENV=development npm ci COPY tsconfig.json tsconfig.app.json tsconfig.node.json ./ COPY vite.config.ts tailwind.config.js postcss.config.js ./