Skip to content

Commit

Permalink
fix owner and permission
Browse files Browse the repository at this point in the history
  • Loading branch information
rzwck committed Jan 28, 2018
1 parent c9e6047 commit 7a3bfc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ RUN pip install aiohttp==1.0.5
RUN pip install x11_hash==1.4
RUN pip install plyvel==0.9

RUN chown -R zcluser:zcluser /home/zcluser/zcl_electrum_db
COPY run_electrumx_docker.sh /home/zcluser/run_electrumx_docker.sh
RUN chown -R zcluser:zcluser /home/zcluser/zcl_electrum_db /home/zcluser/run_electrumx_docker.sh
RUN chmod 755 /home/zcluser/run_electrumx_docker.sh

USER zcluser
RUN /home/zcluser/zclassic/zcutil/fetch-params.sh
COPY --chown=zcluser:zcluser run_electrumx_docker.sh /home/zcluser/run_electrumx_docker.sh
RUN chmod 755 /home/zcluser/run_electrumx_docker.sh
RUN git clone https://github.com/BTCP-community/electrumx.git
RUN wget -q https://github.com/z-classic/zclassic/releases/download/Config/zclassic.conf
RUN sed -ie '/^rpcport=8232/a txindex=1' zclassic.conf
Expand Down

0 comments on commit 7a3bfc0

Please sign in to comment.