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}
ENV BFANODEDIR=${BFANETWORKDIR}/node BFATOML=${BFANETWORKDIR}/config.toml
RUN mkdir -p ${BFANODEDIR} && ln -s ${BFANODEDIR} .ethereum
WORKDIR ${BFAHOME}
RUN git pull && git checkout ipc
VOLUME [ "/home/bfa" ]
......@@ -13,15 +13,17 @@ then
tag="test"
class="test"
name="bfatestnode"
netdir="test2network"
else
tag="latest"
class="prod"
name="bfanodo"
netdir="network"
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}"
mounts="-v ${vd}:/home/bfa/bfa/network/node/geth"
mounts="-v ${vd}:/home/bfa/bfa/${netdir}/node/geth"
if [ "$UID" = "0" ]
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