From 28ceaa847c916e22f3f9a2ee6138695aae14846d Mon Sep 17 00:00:00 2001 From: "vitess-bot[bot]" <108069721+vitess-bot[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 12:20:20 -0600 Subject: [PATCH] [release-18.0] [Docker] Fix VTadmin build (#14363) (#14378) Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com> --- docker/local/Dockerfile | 1 + docker/local/run.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/local/Dockerfile b/docker/local/Dockerfile index 57eae9732c7..9ef944cfd3b 100644 --- a/docker/local/Dockerfile +++ b/docker/local/Dockerfile @@ -37,6 +37,7 @@ COPY examples/local /vt/local # Copy the vtadmin web app to the correct location and npm install COPY --chown=vitess:vitess web /web RUN npm install /web/vtadmin +RUN /web/vtadmin/build.sh RUN mkdir /vt/common COPY examples/common /vt/common diff --git a/docker/local/run.sh b/docker/local/run.sh index 9ba5aa07906..16b07fc426c 100755 --- a/docker/local/run.sh +++ b/docker/local/run.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run -p 14200:14200 -p 14201:14201 -p 15000:15000 -p 15001:15001 -p 15991:15991 -p 15999:15999 -p 16000:16000 --rm -it vitess/local +docker run -d -p 14200:14200 -p 14201:14201 -p 15000:15000 -p 15001:15001 -p 15991:15991 -p 15999:15999 -p 16000:16000 --rm -it vitess/local