diff --git a/docker-compose-development.yml b/docker-compose-development.yml index cf12982a9bd3..3878f880b065 100644 --- a/docker-compose-development.yml +++ b/docker-compose-development.yml @@ -59,10 +59,12 @@ services: ### Application services hyperswitch-server: - image: rust:latest - command: | - apt-get install -y protobuf-compiler && \ - cargo run --bin router -- -f ./config/docker_compose.toml + build: + dockerfile_inline: | + FROM rust:latest + RUN apt-get update && \ + apt-get install -y protobuf-compiler + command: cargo run --bin router -- -f ./config/docker_compose.toml working_dir: /app ports: - "8080:8080"