Skip to content

Commit

Permalink
fix: dockerfile for deploy (#2427)
Browse files Browse the repository at this point in the history
# Description

#2426 introduce a bug as these files are no longer available in
`cargo-build`, nor are they needed.

# Changes

- [x] Fix `cargo-build` intermediate image generation

## How to test
1. CI/CD
  • Loading branch information
mfw78 authored Feb 23, 2024
1 parent a31650c commit af66b7e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry --mount=type=cache,targe
cp target/release/driver / && \
cp target/release/orderbook / && \
cp target/release/refunder / && \
cp target/release/solvers / && \
cp -r database/sql /sql && \
cp -r database/flyway.conf /flyway.conf
cp target/release/solvers

# Create an intermediate image to extract the binaries
FROM docker.io/debian:bookworm-slim as intermediate
Expand Down

0 comments on commit af66b7e

Please sign in to comment.