Quellcode durchsuchen

p2w-terra-relay: ignore lib and node, own project dir in docker

commit-id:b084bc40
Stan Drozd vor 3 Jahren
Ursprung
Commit
d9cbde7255

+ 2 - 0
third_party/pyth/p2w-terra-relay/.dockerignore

@@ -0,0 +1,2 @@
+/lib
+/node_modules

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

@@ -9,7 +9,7 @@ RUN npm install && npm run build && npm cache clean --force
 
 RUN mkdir -p /app/pyth_relay/logs
 RUN addgroup -S pyth -g 10001 && adduser -S pyth -G pyth -u 10001
-RUN chown -R pyth:pyth src/ logs/ lib/
+RUN chown -R pyth:pyth .
 USER pyth
 
 CMD [ "node", "lib/index.js" ]