File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FROM golang:1.16-alpine AS gmc_builder
22
33RUN go env -w GO111MODULE=auto \
44 && go env -w CGO_ENABLED=0 \
5+ && go env -w GOPROXY="https://goproxy.io,direct" \
56 && mkdir /build
67
78WORKDIR /build
@@ -17,10 +18,10 @@ FROM node:latest AS ui_builder
1718WORKDIR /build
1819
1920RUN cd /build \
20- && git clone https://github.com/ProtobufBot/Client-UI .git \
21- && cd /build/Client-UI \
22- && npm install \
23- && npm run build
21+ && git clone https://github.com/ProtobufBot/pbbot-react-ui .git \
22+ && cd /build/pbbot-react-ui \
23+ && yarn install \
24+ && yarn build
2425
2526FROM alpine:latest
2627
@@ -29,7 +30,7 @@ WORKDIR /data
2930COPY --from=gmc_builder /build/gmc /usr/bin/gmc
3031RUN chmod +x /usr/bin/gmc
3132
32- COPY --from=ui_builder /build/Client-UI/dist /data/static
33+ COPY --from=ui_builder /build/pbbot-react-ui/build /data/static
3334
3435ADD ./scripts/env_run.sh /data/
3536
You can’t perform that action at this time.
0 commit comments