Răsfoiți Sursa

Update .dockerignore (#722)

* Update .dockerignore

* Update .dockerignore + .gitignore

* Fix docker issue

* Update .dockerignore again

* Fix precommit
Ali Behjati 2 ani în urmă
părinte
comite
989ac4653a

+ 16 - 2
.dockerignore

@@ -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 - 0
.gitignore

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

+ 1 - 3
target_chains/cosmwasm/contracts/pyth/src/contract.rs

@@ -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)

+ 1 - 0
third_party/pyth/p2w-relay/Dockerfile.pyth_relay

@@ -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