mirror of
https://github.com/traefik/traefik.git
synced 2026-02-03 20:39:51 -05:00
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Publish Documentation / Doc Process (push) Has been cancelled
Build experimental image on branch / build-webui (push) Has been cancelled
Build experimental image on branch / Build experimental image on branch (push) Has been cancelled
18 lines
305 B
Docker
18 lines
305 B
Docker
FROM node:24-alpine3.22
|
|
|
|
ENV WEBUI_DIR=/src/webui
|
|
RUN mkdir -p $WEBUI_DIR
|
|
|
|
COPY package.json yarn.lock .yarnrc.yml $WEBUI_DIR/
|
|
|
|
ENV VITE_APP_BASE_URL=""
|
|
ENV VITE_APP_BASE_API_URL="/api"
|
|
|
|
WORKDIR $WEBUI_DIR
|
|
|
|
RUN corepack enable
|
|
RUN yarn workspaces focus --all --production
|
|
|
|
COPY . $WEBUI_DIR/
|
|
|
|
EXPOSE 8080
|