Skip to content

Commit

Permalink
chore: Update the Dockerfile of godwoken-web3
Browse files Browse the repository at this point in the history
  • Loading branch information
Flouse committed Oct 25, 2023
1 parent 58158af commit 3e40d5c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions web3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3e40d5c

Please sign in to comment.