From 2c5bfe9caaae01aafade4368f5892f909b1483e5 Mon Sep 17 00:00:00 2001 From: Bohdan Ohorodnii Date: Mon, 6 Nov 2023 13:16:47 +0200 Subject: [PATCH] add yarn to dockerfile --- DockerfileRocket | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DockerfileRocket b/DockerfileRocket index 84d62293..39e04799 100644 --- a/DockerfileRocket +++ b/DockerfileRocket @@ -14,7 +14,8 @@ RUN apt-get install -y curl \ apt-transport-https \ software-properties-common \ wget \ - npm + npm \ + yarn # Installing grafana agent RUN mkdir -p /etc/apt/keyrings/ @@ -41,7 +42,7 @@ ENV PATH="/root/.cargo/bin:${PATH}" # Build the API service WORKDIR /opt/app/api -RUN cd hardhat_env && npm install +RUN cd hardhat_env && yarn RUN cargo build --release