We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9f8c40 commit e043a82Copy full SHA for e043a82
Dockerfile
@@ -15,7 +15,7 @@
15
# specific language governing permissions and limitations
16
# under the License.
17
#
18
-FROM golang:1.23 as build
+FROM golang:1.23 AS build
19
20
WORKDIR /kvctl
21
@@ -26,14 +26,23 @@ WORKDIR /kvctl
26
COPY . .
27
RUN make
28
29
+FROM node:22 AS webui-build
30
-FROM ubuntu:focal
31
+WORKDIR /kvctl/webui
32
+
33
+COPY ./webui .
34
35
+RUN npm install && npm run deploy
36
37
+FROM node:22
38
39
40
41
COPY --from=build /kvctl/_build/kvctl-server ./bin/
42
COPY --from=build /kvctl/_build/kvctl ./bin/
43
44
+COPY --from=webui-build /kvctl/webui/.next/standalone ./webui
45
46
VOLUME /var/lib/kvctl
47
48
COPY ./LICENSE ./NOTICE ./licenses ./
0 commit comments