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 authored Oct 15, 2023
1 parent 0068163 commit 3da42bd
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 3da42bd

Please sign in to comment.