Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update the Dockerfile of godwoken-web3 #1098

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading