update docker-compose.yml

pull/5287/head
zjb0807 3 years ago
parent 229918e09d
commit 904acfaf1d
  1. 2
      docker-compose/docker-compose.yml
  2. 1
      docker/Dockerfile

@ -19,6 +19,8 @@ services:
build:
context: ..
dockerfile: ./docker/Dockerfile
args:
COIN: ""
restart: always
container_name: 'blockscout'
links:

@ -36,6 +36,7 @@ RUN mix do deps.get, local.rebar --force, deps.compile
ADD . .
ARG COIN
RUN if [ "$COIN" != "" ]; then \
sed -i s/"POA"/"${COIN}"/g apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po; \
sed -i '/msgid "Ether"/{n;s/msgstr ""/msgstr "${COIN}"/g}' apps/block_scout_web/priv/gettext/default.pot; \

Loading…
Cancel
Save