fix: add PUBLIC_API_URL env var to all build steps
This commit is contained in:
@@ -9,6 +9,10 @@ RUN bun install --frozen-lockfile
|
||||
|
||||
# Build the SvelteKit app with adapter-node
|
||||
COPY . .
|
||||
|
||||
ARG PUBLIC_API_URL=https://opt-api.osdci.net
|
||||
ENV PUBLIC_API_URL=$PUBLIC_API_URL
|
||||
|
||||
RUN bun run build:server
|
||||
|
||||
# Production image
|
||||
|
||||
Reference in New Issue
Block a user