Merge pull request #323 from kerberos-io/fix/build-error-yarn

fix/build-error-yarn
This commit is contained in:
Cédric Verstraeten
2026-09-01 15:52:23 +02:00
committed by GitHub
+2 -2
View File
@@ -81,8 +81,8 @@ RUN apk update && apk upgrade --available && sync
RUN mkdir -p /go/src/github.com/kerberos-io/agent/machinery/www
COPY ui /go/src/github.com/kerberos-io/agent/ui
RUN cd /go/src/github.com/kerberos-io/agent/ui && rm -rf yarn.lock && yarn config set network-timeout 300000 && \
yarn && yarn build
RUN cd /go/src/github.com/kerberos-io/agent/ui && yarn config set network-timeout 300000 && \
yarn --frozen-lockfile && yarn build
####################################
# Let's create a /dist folder containing just the files necessary for runtime.