From 3807edd9367a0ceaaca99668c8ae22dd1c3272c1 Mon Sep 17 00:00:00 2001 From: Parker Owings Date: Mon, 31 Jul 2023 23:36:08 -0600 Subject: [PATCH 1/2] Removed --legacy-peer-deps npm install flag, changed npm install to --production --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f03549e..4a83b0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY .env .env COPY config.js src/config.js ## Install node_modules -RUN npm install --legacy-peer-deps +RUN npm install --production RUN npm run deploy ## Cadence startup command From e3acd3d9a5b2e44465bea5b3e19c3e00f2d15154 Mon Sep 17 00:00:00 2001 From: Parker Owings Date: Sun, 20 Aug 2023 02:11:38 -0600 Subject: [PATCH 2/2] Updated Dockerfile to support new optional user config format --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4a83b0b..ffc541b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /cadence-discord-bot # Copy .env and config.js to docker container COPY .env .env -COPY config.js src/config.js +COPY *local.js config/local.js ## Install node_modules RUN npm install --production