From f26d8376264daef43eb34e1114a487430e402192 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sat, 23 Sep 2023 02:21:33 +0700 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b56ea1..84dc828 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ COPY . . RUN DEBIAN_FRONTEND=noninteractive RUN apt-get update -y -RUN apt-get -y install curl gnupg git python2 make g++ iputils-ping ffmpeg +RUN apt-get -y install curl gnupg git dh-python make g++ iputils-ping ffmpeg RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - RUN apt-get -y install nodejs RUN npm i -g yarn @@ -17,7 +17,7 @@ FROM debian WORKDIR /home/node/app RUN apt-get update -y -RUN apt-get -y install curl gnupg git python2 make g++ iputils-ping ffmpeg +RUN apt-get -y install curl gnupg git dh-python make g++ iputils-ping ffmpeg RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - RUN apt-get -y install nodejs RUN npm i -g yarn @@ -34,4 +34,4 @@ COPY --from=build /home/node/app/locales ./locales/ COPY --from=build /home/node/app/dist . -CMD [ "node", "index.js"] \ No newline at end of file +CMD [ "node", "index.js"] From bb0539f7bbd0ca363625acd40ae70a3050a1e6c2 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sat, 23 Sep 2023 02:27:50 +0700 Subject: [PATCH 2/2] Bump NodeJS version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 84dc828..abd6b00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN DEBIAN_FRONTEND=noninteractive RUN apt-get update -y RUN apt-get -y install curl gnupg git dh-python make g++ iputils-ping ffmpeg -RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - +RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN apt-get -y install nodejs RUN npm i -g yarn @@ -18,7 +18,7 @@ WORKDIR /home/node/app RUN apt-get update -y RUN apt-get -y install curl gnupg git dh-python make g++ iputils-ping ffmpeg -RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - +RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN apt-get -y install nodejs RUN npm i -g yarn