Skip to content

Commit 989ac46

Browse files
authored
Update .dockerignore (#722)
* Update .dockerignore * Update .dockerignore + .gitignore * Fix docker issue * Update .dockerignore again * Fix precommit
1 parent 0564924 commit 989ac46

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

.dockerignore

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
target
2-
bin
31
**/target
42
**/node_modules
3+
**/bin
4+
**/build
5+
**/target
6+
**/*artifact*
7+
**/*cache*
8+
**/.next
9+
10+
# All our TS projects are in `src` and the JS build output is in `lib`
11+
# We should make sure that we exclude the ones that we really need in docker
12+
**/lib
13+
14+
**/tsconfig.tsbuildinfo
15+
16+
.git
17+
18+
hermes/wormhole

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ bigtable-writer.json
1616
tsconfig.tsbuildinfo
1717
*~
1818
*mnemonic*
19+
.envrc

target_chains/cosmwasm/contracts/pyth/src/contract.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,9 +1111,7 @@ mod test {
11111111
expo: 302,
11121112
publish_time: 303,
11131113
},
1114-
Price {
1115-
..Default::default()
1116-
},
1114+
Default::default(),
11171115
);
11181116
price_feed_bucket(&mut deps.storage)
11191117
.save(address, &dummy_price_feed)

third_party/pyth/p2w-relay/Dockerfile.pyth_relay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ FROM lerna
44
WORKDIR /home/node/
55
USER 1000
66

7+
COPY --chown=1000:1000 target_chains/ethereum/sdk/solidity target_chains/ethereum/sdk/solidity
78
COPY --chown=1000:1000 price_service/sdk/js price_service/sdk/js
89
COPY --chown=1000:1000 third_party/pyth/p2w-relay third_party/pyth/p2w-relay
910
COPY --chown=1000:1000 wormhole_attester/sdk/js wormhole_attester/sdk/js

0 commit comments

Comments
 (0)