reset changes docker-compose

This commit is contained in:
damarnez
2022-03-05 16:33:35 +01:00
parent 0aabf04293
commit 68bac25c76
2 changed files with 17 additions and 1 deletions

View File

@@ -2,6 +2,9 @@ version: '3.5'
services:
contracts-env:
security_opt:
- no-new-privileges
user: 1001:1001
env_file:
- .env
build:
@@ -9,5 +12,15 @@ services:
stdin_open: true
tty: true
volumes:
- ./:/usr/src/app:rw
- ./:/src:rw
- $HOME/.tenderly/config.yaml:/root/.tenderly/config.yaml:ro
#environment:
#- MNEMONIC=
#- ETHERSCAN_KEY=
#- INFURA_KEY=
#- ETHERSCAN_NETWORK=
#- TENDERLY_PROJECT=
#- TENDERLY_USERNAME=
#- ALCHEMY_KEY=
#- TENDERLY_FORK_ID=
#- TENDERLY_HEAD_ID=

3
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
[ ! -d "/src/node_modules" ] && mv /node_modules /src/node_modules ; bash