From 165b70e7edd09406d6f621e7358e5944d1b8697d Mon Sep 17 00:00:00 2001 From: Adson Cicilioti Date: Sat, 3 Aug 2024 03:52:56 -0300 Subject: [PATCH 1/3] add: curl and wget packages to suppot healtchecks --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 60aa4f2..4a1ef80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,14 @@ # Use a imagem oficial do Node.js 20 como base FROM node:20-slim +RUN apt update && apt install -y curl wget + WORKDIR /usr/src/app RUN npm install -g vite RUN ln -s /usr/local/bin/node /usr/bin/node -ENTRYPOINT ["npx", "evolution-manager", "server", "start"] +ENTRYPOINT ["npx", "evolution-manager", "server", "start"] EXPOSE 9615 From 97f0dfd2be4d838d45f060539da57c45d49f6b6d Mon Sep 17 00:00:00 2001 From: Adson Cicilioti Date: Sat, 3 Aug 2024 04:16:33 -0300 Subject: [PATCH 2/3] test w/o curl and wget --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4a1ef80..010c40e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Use a imagem oficial do Node.js 20 como base FROM node:20-slim -RUN apt update && apt install -y curl wget +# RUN apt update && apt install -y curl wget WORKDIR /usr/src/app From b5cfd34711f46860ca4bd8822164655b4ed27e92 Mon Sep 17 00:00:00 2001 From: Adson Cicilioti Date: Sat, 3 Aug 2024 04:34:38 -0300 Subject: [PATCH 3/3] chore: supress confirmation prompt --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 010c40e..c70ffb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Use a imagem oficial do Node.js 20 como base FROM node:20-slim -# RUN apt update && apt install -y curl wget +RUN apt update && apt install -y curl wget WORKDIR /usr/src/app @@ -9,6 +9,6 @@ RUN npm install -g vite RUN ln -s /usr/local/bin/node /usr/bin/node -ENTRYPOINT ["npx", "evolution-manager", "server", "start"] +ENTRYPOINT ["npx", "-y", "evolution-manager", "server", "start"] EXPOSE 9615