Skip to content

Commit 7a42a5b

Browse files
committed
fix: enable ui in docker image
Update the Dockerfile so that the UI is built before the `gptscript` binary. Signed-off-by: Nick Hale <[email protected]>
1 parent 06541ff commit 7a42a5b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
FROM golang:1.22.0-alpine3.19 AS build
2-
RUN apk add -U --no-cache make git
3-
COPY / /src/gptscript
2+
RUN apk add -U --no-cache make git npm
3+
COPY . /src/gptscript
44
WORKDIR /src/gptscript
5-
RUN make build
5+
6+
RUN make all
67

78
FROM alpine AS release
89
COPY --from=build /src/gptscript/bin /usr/local/bin/

0 commit comments

Comments
 (0)