slim
This commit is contained in:
parent
211931fd9c
commit
2edab4a298
|
@ -11,7 +11,7 @@ COPY test test
|
|||
COPY tsconfig.json tsconfig.json
|
||||
RUN yarn build
|
||||
|
||||
FROM node:16 AS v3-liq
|
||||
FROM node:slim AS v3-liq
|
||||
|
||||
COPY --from=v3-ts node_modules node_modules
|
||||
COPY --from=v3-ts lib lib
|
||||
|
|
|
@ -24,11 +24,11 @@ spec:
|
|||
imagePullPolicy: Always
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 4Gi
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 1000m
|
||||
memory: 4Gi
|
||||
cpu: 250m
|
||||
memory: 128Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
|
@ -48,15 +48,15 @@ spec:
|
|||
- name: PRIVATE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: v3-liq
|
||||
name: v3-liq-laf
|
||||
key: private-key
|
||||
- name: ENDPOINT_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: v3-liq
|
||||
name: v3-liq-laf
|
||||
key: endpoint-url
|
||||
- name: WEBHOOK_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: v3-liq
|
||||
name: v3-liq-laf
|
||||
key: webhook-url
|
|
@ -24,8 +24,8 @@ spec:
|
|||
imagePullPolicy: Always
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 4Gi
|
||||
cpu: 1250m
|
||||
memory: 6Gi
|
||||
requests:
|
||||
cpu: 1000m
|
||||
memory: 4Gi
|
||||
|
@ -42,7 +42,7 @@ spec:
|
|||
- name: GROUP
|
||||
value: mainnet.1
|
||||
- name: INTERVAL
|
||||
value: "2500"
|
||||
value: "3000"
|
||||
- name: PRIVATE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
Loading…
Reference in New Issue