Use main yarn.lock when building oracle docker
This commit is contained in:
parent
97f80dc95a
commit
ef0b9662d2
@ -7,10 +7,13 @@ RUN apt-get install -y libc6-dev-i386
|
||||
RUN apt-get install -y wget
|
||||
RUN apt-get clean
|
||||
|
||||
WORKDIR /bridge
|
||||
WORKDIR /mono
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
RUN npm install
|
||||
COPY . .
|
||||
COPY contracts/package.json ./contracts/
|
||||
COPY oracle/package.json ./oracle/
|
||||
COPY yarn.lock .
|
||||
RUN yarn install
|
||||
COPY ./oracle ./oracle
|
||||
WORKDIR /mono/oracle
|
||||
CMD echo "To start a bridge process run:" \
|
||||
"VALIDATOR_ADDRESS=<validator address> VALIDATOR_ADDRESS_PRIVATE_KEY=<validator address private key> docker-compose up -d --build"
|
||||
|
@ -31,7 +31,9 @@ services:
|
||||
bridge_request:
|
||||
cpus: 0.1
|
||||
mem_limit: 500m
|
||||
build: .
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: oracle/Dockerfile
|
||||
command: 'true'
|
||||
env_file: ./.env
|
||||
environment:
|
||||
@ -45,7 +47,9 @@ services:
|
||||
bridge_collected:
|
||||
cpus: 0.1
|
||||
mem_limit: 500m
|
||||
build: .
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: oracle/Dockerfile
|
||||
command: 'true'
|
||||
env_file: ./.env
|
||||
environment:
|
||||
@ -59,7 +63,9 @@ services:
|
||||
bridge_affirmation:
|
||||
cpus: 0.1
|
||||
mem_limit: 500m
|
||||
build: .
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: oracle/Dockerfile
|
||||
command: 'true'
|
||||
env_file: ./.env
|
||||
environment:
|
||||
@ -73,7 +79,9 @@ services:
|
||||
bridge_senderhome:
|
||||
cpus: 0.1
|
||||
mem_limit: 500m
|
||||
build: .
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: oracle/Dockerfile
|
||||
command: 'true'
|
||||
env_file: ./.env
|
||||
environment:
|
||||
@ -87,7 +95,9 @@ services:
|
||||
bridge_senderforeign:
|
||||
cpus: 0.1
|
||||
mem_limit: 500m
|
||||
build: .
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: oracle/Dockerfile
|
||||
command: 'true'
|
||||
env_file: ./.env
|
||||
environment:
|
||||
|
6854
oracle/package-lock.json
generated
6854
oracle/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user