Files
cameleer-server/ui/Dockerfile
hsiegeln b32c97c02b
All checks were successful
CI / build (push) Successful in 1m43s
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Successful in 1m17s
CI / deploy (push) Successful in 40s
CI / deploy-feature (push) Has been skipped
feat: fix Cmd-K shortcut and add exchange full-text search to command palette
- Add missing onOpen prop to CommandPalette (fixes Ctrl+K/Cmd+K)
- Wire server-side exchange search with debounced text query
- Use design system dev snapshot from Gitea registry in CI builds

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 08:57:24 +01:00

25 lines
664 B
Docker

FROM --platform=$BUILDPLATFORM node:22-alpine AS build
WORKDIR /app
ARG REGISTRY_TOKEN
COPY package.json package-lock.json .npmrc ./
RUN echo "//gitea.siegeln.net/api/packages/cameleer/npm/:_authToken=${REGISTRY_TOKEN}" >> .npmrc && \
npm ci && \
npm install @cameleer/design-system@dev && \
rm -f .npmrc
COPY . .
ARG VITE_ENV_NAME=PRODUCTION
ENV VITE_ENV_NAME=$VITE_ENV_NAME
RUN npm run build
FROM nginx:1.27-alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/templates/default.conf.template
# Default API URL — override via K8s env or docker run -e
ENV CAMELEER_API_URL=http://cameleer3-server:8081
EXPOSE 80