@@ -4,7 +4,7 @@ FROM ghcr.io/zama-ai/fhevm-node:latest AS contract_builder
44USER root
55
66WORKDIR /app
7- COPY ./host-contracts ./host-contracts
7+ COPY .. /host-contracts ./host-contracts
88
99# Compiled host-contracts for listeners
1010WORKDIR /app/host-contracts
@@ -63,12 +63,12 @@ ENV OPENSSL_DIR=/usr
6363
6464WORKDIR /app
6565
66- COPY ./host-contracts/contracts/ ./host-contracts/contracts/
66+ COPY .. /host-contracts/contracts/ ./host-contracts/contracts/
6767COPY --from=contract_builder /app/host-contracts/artifacts/contracts /app/host-contracts/artifacts/contracts
68- COPY ./coprocessor/ fhevm-engine/ ./coprocessor /fhevm-engine/
69- COPY ./coprocessor/ proto/ ./coprocessor /proto/
68+ COPY fhevm-engine/ ./fhevm-engine/
69+ COPY proto/ ./proto/
7070
71- WORKDIR /app/coprocessor/ fhevm-engine
71+ WORKDIR /app/fhevm-engine
7272
7373# Build all binaries
7474RUN cargo fetch && \
@@ -87,13 +87,13 @@ COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs/
8787COPY --from=builder --chown=fhevm:fhevm /home/fhevm /home/fhevm
8888COPY --from=builder --chown=fhevm:fhevm /app /app
8989
90- COPY --from=builder --chown=fhevm:fhevm /app/coprocessor/ fhevm-engine/target/release/coprocessor /usr/local/bin/coprocessor
91- COPY --from=builder --chown=fhevm:fhevm /app/coprocessor/ fhevm-engine/target/release/sns_worker /usr/local/bin/sns_worker
92- COPY --from=builder --chown=fhevm:fhevm /app/coprocessor/ fhevm-engine/target/release/zkproof_worker /usr/local/bin/zkproof_worker
93- COPY --from=builder --chown=fhevm:fhevm /app/coprocessor/ fhevm-engine/target/release/fhevm_listener /usr/local/bin/fhevm_listener
94- COPY --from=builder --chown=fhevm:fhevm /app/coprocessor/ fhevm-engine/target/release/gw_listener /usr/local/bin/gw_listener
95- COPY --from=builder --chown=fhevm:fhevm /app/coprocessor/ fhevm-engine/target/release/transaction_sender /usr/local/bin/transaction_sender
96- COPY --from=builder --chown=fhevm:fhevm /app/coprocessor/ fhevm-engine/target/release/cli /usr/local/bin/cli
90+ COPY --from=builder --chown=fhevm:fhevm /app/fhevm-engine/target/release/coprocessor /usr/local/bin/coprocessor
91+ COPY --from=builder --chown=fhevm:fhevm /app/fhevm-engine/target/release/sns_worker /usr/local/bin/sns_worker
92+ COPY --from=builder --chown=fhevm:fhevm /app/fhevm-engine/target/release/zkproof_worker /usr/local/bin/zkproof_worker
93+ COPY --from=builder --chown=fhevm:fhevm /app/fhevm-engine/target/release/fhevm_listener /usr/local/bin/fhevm_listener
94+ COPY --from=builder --chown=fhevm:fhevm /app/fhevm-engine/target/release/gw_listener /usr/local/bin/gw_listener
95+ COPY --from=builder --chown=fhevm:fhevm /app/fhevm-engine/target/release/transaction_sender /usr/local/bin/transaction_sender
96+ COPY --from=builder --chown=fhevm:fhevm /app/fhevm-engine/target/release/cli /usr/local/bin/cli
9797
9898USER fhevm:fhevm
9999
0 commit comments