Update .dockerignore (#722)

* Update .dockerignore

* Update .dockerignore + .gitignore

* Fix docker issue

* Update .dockerignore again

* Fix precommit
This commit is contained in:
Ali Behjati 2023-03-27 16:44:08 +02:00 committed by GitHub
parent 05649245fe
commit 989ac4653a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 5 deletions

View File

@ -1,4 +1,18 @@
target
bin
**/target
**/node_modules
**/bin
**/build
**/target
**/*artifact*
**/*cache*
**/.next
# All our TS projects are in `src` and the JS build output is in `lib`
# We should make sure that we exclude the ones that we really need in docker
**/lib
**/tsconfig.tsbuildinfo
.git
hermes/wormhole

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ bigtable-writer.json
tsconfig.tsbuildinfo
*~
*mnemonic*
.envrc

View File

@ -1111,9 +1111,7 @@ mod test {
expo: 302,
publish_time: 303,
},
Price {
..Default::default()
},
Default::default(),
);
price_feed_bucket(&mut deps.storage)
.save(address, &dummy_price_feed)

View File

@ -4,6 +4,7 @@ FROM lerna
WORKDIR /home/node/
USER 1000
COPY --chown=1000:1000 target_chains/ethereum/sdk/solidity target_chains/ethereum/sdk/solidity
COPY --chown=1000:1000 price_service/sdk/js price_service/sdk/js
COPY --chown=1000:1000 third_party/pyth/p2w-relay third_party/pyth/p2w-relay
COPY --chown=1000:1000 wormhole_attester/sdk/js wormhole_attester/sdk/js