From 2ac400f4c30c014353d0d1cf8d39b70de90d22ca Mon Sep 17 00:00:00 2001 From: Vladimir Gorkavenko <32727352+vgorkavenko@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:31:28 +0200 Subject: [PATCH] fix: align cli building with daemon (#29) * fix: align cli building with daemon * feat: rename daemon dockerfile to default name --- Dockerfile.daemon => Dockerfile | 0 Dockerfile.cli | 2 +- docker-compose.yml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename Dockerfile.daemon => Dockerfile (100%) diff --git a/Dockerfile.daemon b/Dockerfile similarity index 100% rename from Dockerfile.daemon rename to Dockerfile diff --git a/Dockerfile.cli b/Dockerfile.cli index 89a9ef3..97e3a66 100644 --- a/Dockerfile.cli +++ b/Dockerfile.cli @@ -3,7 +3,7 @@ FROM node:20.12.1-alpine as building WORKDIR /app COPY package.json yarn.lock ./ -COPY ./tsconfig*.json ./ +COPY ./tsconfig*.json ./nest-cli.json ./.swcrc ./ COPY ./src ./src RUN yarn install --frozen-lockfile --non-interactive && yarn cache clean && yarn typechain diff --git a/docker-compose.yml b/docker-compose.yml index 58f35e8..964ff89 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,7 +45,7 @@ services: daemon: build: context: . - dockerfile: ./Dockerfile.daemon + dockerfile: ./Dockerfile container_name: prover-daemon restart: unless-stopped environment: