Migrate Traefik Proxy dashboard UI to React
This commit is contained in:
parent
4790e4910f
commit
f16fff577a
324 changed files with 28303 additions and 19567 deletions
18
webui/buildx.Dockerfile
Normal file
18
webui/buildx.Dockerfile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
FROM node:22.15.1-alpine3.20
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue