Skip to content

Commit

Permalink
copy yarn.lock into container, add extra dependencies and remove imag…
Browse files Browse the repository at this point in the history
…e apk cache
  • Loading branch information
ltfschoen committed Jan 6, 2023
1 parent 6069c1b commit ae65b67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ cp .env.example .env
```bash
./docker-dev.sh
```
Note: The script requires `jq` command to be installed (i.e. Ubuntu `apt-get install -y jq`)

### Run Bridge Dapp

Expand Down
6 changes: 4 additions & 2 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ ENV PATH=${PATH_PROJECT}/node_modules/.bin:$PATH

WORKDIR ${PATH_PROJECT}

COPY package.json .
COPY package.json yarn.lock ./

RUN apk update && apk add --update git python3 make g++ \
&& rm -rf /var/cache/apk/*

RUN apk update && apk add --update git
RUN yarn

COPY . .
Expand Down

0 comments on commit ae65b67

Please sign in to comment.