mirror of
https://github.com/hanzoai/ingress.git
synced 2026-10-26 02:47:15 +00:00
Follow /<version>/<service>/<path> convention for infrastructure service endpoints. /healthz and /ping stay as-is.
20 lines
339 B
Docker
20 lines
339 B
Docker
FROM node:24-alpine3.22
|
|
|
|
ENV WEBUI_DIR=/src/webui
|
|
RUN mkdir -p $WEBUI_DIR
|
|
|
|
RUN corepack enable && corepack prepare [email protected] --activate
|
|
|
|
COPY package.json pnpm-lock.yaml $WEBUI_DIR/
|
|
|
|
ENV VITE_APP_BASE_URL=""
|
|
ENV VITE_APP_BASE_API_URL="/v1/ingress"
|
|
|
|
WORKDIR $WEBUI_DIR
|
|
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
COPY . $WEBUI_DIR/
|
|
|
|
EXPOSE 8080
|