From 57ff1a3a78ee2064957522edb25995518f12e054 Mon Sep 17 00:00:00 2001 From: austbot Date: Mon, 17 Jun 2024 16:02:12 -0500 Subject: [PATCH] fix directories --- Dockerfile | 2 +- charts/bonsol-node/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d0c8e85..a07b3aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ COPY --from=builder /app/target/release/relay /usr/opt/bonsol COPY --from=risczero/risc0-groth16-prover:v2024-04-03.2 /app/stark_verify /usr/opt/bonsol/stark/stark_verify COPY --from=risczero/risc0-groth16-prover:v2024-04-03.2 /app/stark_verify.dat /usr/opt/bonsol/stark/stark_verify.dat COPY --from=risczero/risc0-groth16-prover:v2024-04-03.2 /app/stark_verify_final.zkey /usr/opt/bonsol/stark/stark_verify_final.zkey -COPY --from=risczero/risc0-groth16-prover:v2024-04-03.2 /usr/local/sbin/rapidsnark /app/stark/rapidsnark +COPY --from=risczero/risc0-groth16-prover:v2024-04-03.2 /usr/local/sbin/rapidsnark /usr/opt/bonsol/stark/rapidsnark WORKDIR /usr/opt/bonsol ENTRYPOINT ["relay"] diff --git a/charts/bonsol-node/templates/deployment.yaml b/charts/bonsol-node/templates/deployment.yaml index 348b769..6dfbc45 100644 --- a/charts/bonsol-node/templates/deployment.yaml +++ b/charts/bonsol-node/templates/deployment.yaml @@ -36,7 +36,7 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} - command: ["/opt/bonsol/relay", "-f /opt/bonsol/Node.toml"] + command: ["/usr/opt/bonsol", "-f /opt/bonsol/Node.toml"] ports: - name: http containerPort: {{ .Values.service.port }}