Skip to content

Commit 17b0d07

Browse files
committed
improve build and fix PR object
1 parent 98c54ed commit 17b0d07

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

Dockerfile

+11-8
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@ ENV NODE_ENV=development
33

44
WORKDIR /build
55

6+
## Server
67
COPY server ./server
7-
RUN cd server && \
8-
yarn install && \
8+
RUN cd /build/server && \
9+
yarn install
10+
RUN cd /build/server && \
911
yarn build && \
10-
yarn swaggergen && \
11-
cd ..
12+
yarn swaggergen
13+
14+
## Client
1215
COPY client ./client
13-
RUN cd client && \
14-
yarn install && \
15-
yarn build && \
16-
cd ..
16+
RUN cd /build/client && \
17+
yarn install
18+
RUN cd /build/client && \
19+
yarn build
1720

1821
FROM build AS release
1922
ARG VERSION=unknown

client/src/components/apps/form.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ export default defineComponent({
17931793
enabled: true,
17941794
path: '/',
17951795
startupSeconds: 90,
1796-
timeoutSeconds: 30,
1796+
timeoutSeconds: 3,
17971797
periodSeconds: 10,
17981798
},
17991799
nameRules: [

server/src/kubero.ts

+8-3
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,14 @@ export class Kubero {
782782
}
783783
],
784784
tls: []
785-
}
786-
787-
785+
},
786+
healthcheck: {
787+
enabled: false,
788+
path: "/",
789+
startupSeconds: 90,
790+
timeoutSeconds: 3,
791+
periodSeconds: 10
792+
},
788793
}
789794
let app = new App(appOptions);
790795

0 commit comments

Comments
 (0)