From b79f75a7ab9ed63a75defa2b3c5f9c170fca493e Mon Sep 17 00:00:00 2001 From: Akhil Date: Mon, 7 Oct 2024 19:58:40 +0530 Subject: [PATCH] build(docker-compose-development): address build failure of `hyperswitch-server` service (#6217) --- docker-compose-development.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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"