From 3e40d5c75abe749118dd94cb39c4d7a01210c6b2 Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Sun, 15 Oct 2023 09:21:29 +0800 Subject: [PATCH] chore: Update the Dockerfile of godwoken-web3 --- web3/Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/web3/Dockerfile b/web3/Dockerfile index c9fe633a5..deeb2f027 100644 --- a/web3/Dockerfile +++ b/web3/Dockerfile @@ -2,17 +2,12 @@ FROM node:18-bullseye COPY ./web3 /godwoken-web3 -RUN cd /godwoken-web3 && yarn && yarn build - -# pm2 is no longer used. -# RUN npm install pm2 -g -# TODO: remove these lines in the next release - RUN apt-get update \ && apt-get dist-upgrade -y \ && apt-get install curl -y \ && apt-get install jq -y \ - && apt-get clean \ + && rm -rf /var/lib/apt/lists/* && echo "Finished installing dependencies" +RUN cd /godwoken-web3 && yarn && yarn build EXPOSE 8024 3000