Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
stupid-boar authored Nov 8, 2021
1 parent fc5c6d6 commit e1703cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN mkdir -p mainnet/data mainnet/config testnet/data testnet/config && \
RUN /build/geth --datadir mainnet/data init mainnet/config/genesis.json && \
/build/geth --datadir testnet/data init testnet/config/genesis.json
RUN sed '/\[Node.LogConfig\]/d;/File[Root|Path]/d;/MaxBytesSize/d;/Level/d;/DataDir/d;/NoUSB/d;/IPCPath/d;/HTTPHost/d;/HTTPVirtualHosts/d;/InsecureUnlockAllowed/d;/HTTPPort/d;/HTTPModules/d;/WSPort/d;/WSModules/d;/\[Node\]/d;s/PriceLimit = 1000000000/PriceLimit = 2000000000/;s/GasPrice = 1000000000/GasPrice = 2000000000/' testnet/config/config.toml > testnet/config/config-pure.toml && \
sed '/\[Node.LogConfig\]/d;/File[Root|Path]/d;/MaxBytesSize/d;/Level/d;/DataDir/d;/NoUSB/d;/IPCPath/d;/HTTPHost/d;/HTTPVirtualHosts/d;/InsecureUnlockAllowed/d;/HTTPPort/d;/HTTPModules/d;/WSPort/d;/WSModules/d;/\[Node\]/d;s/PriceLimit = 1000000000/PriceLimit = 50000000000/;s/GasPrice = 1000000000/GasPrice = 50000000000/' mainnet/config/config.toml > mainnet/config/config-pure.toml
sed '/\[Node.LogConfig\]/d;/File[Root|Path]/d;/MaxBytesSize/d;/Level/d;/DataDir/d;/NoUSB/d;/IPCPath/d;/HTTPHost/d;/HTTPVirtualHosts/d;/InsecureUnlockAllowed/d;/HTTPPort/d;/HTTPModules/d;/WSPort/d;/WSModules/d;/\[Node\]/d;s/PriceLimit = 1000000000/PriceLimit = 5000000000/;s/GasPrice = 1000000000/GasPrice = 5000000000/' mainnet/config/config.toml > mainnet/config/config-pure.toml

RUN cat testnet/config/config-pure.toml
RUN cat mainnet/config/config-pure.toml
Expand Down

0 comments on commit e1703cc

Please # to comment.