From 9d672a91dffa1422f2eb74cc85fb5453c1bb28b4 Mon Sep 17 00:00:00 2001 From: jaybuidl Date: Thu, 7 Nov 2024 03:30:36 +0700 Subject: [PATCH] chore: bot dockerfile update --- .dockerignore | 4 ++-- services/bots/base/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.dockerignore b/.dockerignore index db0964493..94d60d616 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,12 +2,12 @@ .yarn/install-state.gz contracts/.env +contracts/.env.* contracts/test contracts/lib contracts/cache contracts/cache_hardhat -contracts/config contracts/tenderly.yaml */.DS_Store -*/*.log \ No newline at end of file +*/*.log diff --git a/services/bots/base/Dockerfile b/services/bots/base/Dockerfile index bd969418c..3e1492d08 100644 --- a/services/bots/base/Dockerfile +++ b/services/bots/base/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine@sha256:a1f9d027912b58a7c75be7716c97cfbc6d3099f3a97ed84aa490be9dee20e787 +FROM node:20-alpine WORKDIR /usr/src/app @@ -11,7 +11,7 @@ COPY --chown=node:node "./tsconfig" "./tsconfig" COPY --chown=node:node "./.yarn" "./.yarn" COPY --chown=node:node [ ".yarnrc.yml", ".nvmrc", ".eslintignore", "package.json", "yarn.lock", "./" ] -RUN yarn set version 3.3.1 && \ +RUN yarn set version 4.5.1 && \ yarn --version && \ node --version && \ cd contracts && \