Skip to content
Snippets Groups Projects
Commit 2db610ae authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Monta el volume correcto

parent 6b518007
No related branches found
No related tags found
No related merge requests found
...@@ -16,4 +16,5 @@ ENV BFANETWORKID=${BFANETWORKIDPROD} BFANETWORKDIR=${BFANETWORKDIRPROD} ...@@ -16,4 +16,5 @@ ENV BFANETWORKID=${BFANETWORKIDPROD} BFANETWORKDIR=${BFANETWORKDIRPROD}
ENV BFANODEDIR=${BFANETWORKDIR}/node BFATOML=${BFANETWORKDIR}/config.toml ENV BFANODEDIR=${BFANETWORKDIR}/node BFATOML=${BFANETWORKDIR}/config.toml
RUN mkdir -p ${BFANODEDIR} && ln -s ${BFANODEDIR} .ethereum RUN mkdir -p ${BFANODEDIR} && ln -s ${BFANODEDIR} .ethereum
WORKDIR ${BFAHOME} WORKDIR ${BFAHOME}
RUN git pull && git checkout ipc
VOLUME [ "/home/bfa" ] VOLUME [ "/home/bfa" ]
...@@ -13,15 +13,17 @@ then ...@@ -13,15 +13,17 @@ then
tag="test" tag="test"
class="test" class="test"
name="bfatestnode" name="bfatestnode"
netdir="test2network"
else else
tag="latest" tag="latest"
class="prod" class="prod"
name="bfanodo" name="bfanodo"
netdir="network"
fi fi
vd="${HOME}/dockers/volumes/${name},home,bfa,bfa,network,node,geth" vd="${HOME}/dockers/volumes/${name},home,bfa,bfa,${netdir},node,geth"
mkdir -p "${vd}" mkdir -p "${vd}"
mounts="-v ${vd}:/home/bfa/bfa/network/node/geth" mounts="-v ${vd}:/home/bfa/bfa/${netdir}/node/geth"
if [ "$UID" = "0" ] if [ "$UID" = "0" ]
then then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment