diff --git a/docker-compose.yml b/docker-compose.yml index 35fb8a0..a2a9adf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -69,6 +69,8 @@ services: build: context: ./frontend dockerfile: Dockerfile + args: + - PUBLIC_CONVEX_URL=${PUBLIC_CONVEX_URL} image: stealth-ai-relay/frontend profiles: - frontend @@ -85,6 +87,8 @@ services: build: context: ./frontend dockerfile: Dockerfile + args: + - PUBLIC_CONVEX_URL=${PUBLIC_CONVEX_URL} image: stealth-ai-relay/frontend volumes: - ./frontend:/app diff --git a/frontend/Dockerfile b/frontend/Dockerfile index d09c195..38730ca 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -3,6 +3,9 @@ FROM oven/bun:alpine ENV TERM=xterm-256color ENV COLORTERM=truecolor +ARG PUBLIC_CONVEX_URL +ENV PUBLIC_CONVEX_URL=$PUBLIC_CONVEX_URL + WORKDIR /app COPY . .