Commit a702fd99 authored by TonyFord's avatar TonyFord
Browse files

ts

parent 87f102e1
......@@ -43,17 +43,17 @@ ENV FAIRCHAINS_PATH=/home/faircoin/.faircoin2/
RUN groupadd -g $RUNNER_GID faircoin
RUN useradd --create-home --shell /bin/bash faircoin --uid $RUNNER_UID --gid $RUNNER_GID
RUN mkdir -p /home/faircoin/.fairchains
RUN chown -R faircoin:faircoin /home/faircoin/.fairchains
RUN mkdir -p $FAIRCHAINS_PATH
RUN chown -R faircoin:faircoin $FAIRCHAINS_PATH
COPY .faircoin2/fairchains.conf /home/faircoin/.faircoin2/fairchains.conf
RUN chown faircoin:faircoin /home/faircoin/.faircoin2/fairchains.conf
COPY .faircoin2/fairchains.conf ${FAIRCHAINS_PATH}fairchains.conf
RUN chown faircoin:faircoin ${FAIRCHAINS_PATH}fairchains.conf
COPY .faircoin2/FairCoinChain.electrumx.json /home/faircoin/.faircoin2/FairCoinChain.electrumx.json
RUN chown faircoin:faircoin /home/faircoin/.faircoin2/FairCoinChain.electrumx.json
COPY .faircoin2/FairCoinChain.electrumx.json ${FAIRCHAINS_PATH}FairCoinChain.electrumx.json
RUN chown faircoin:faircoin ${FAIRCHAINS_PATH}FairCoinChain.electrumx.json
COPY .faircoin2/FairCoinChain.json /home/faircoin/.faircoin2/FairCoinChain.json
RUN chown faircoin:faircoin /home/faircoin/.faircoin2/FairCoinChain.json
COPY .faircoin2/FairCoinChain.json ${FAIRCHAINS_PATH}FairCoinChain.json
RUN chown faircoin:faircoin ${FAIRCHAINS_PATH}FairCoinChain.json
USER faircoin
#################################################################################faircoin##
......@@ -64,7 +64,7 @@ RUN git clone https://github.com/fairchainsx/electrumfairchainsx.git
WORKDIR /home/faircoin/electrumfairchainsx
RUN python3 setup.py build
WORKDIR /home/faircoin/.fairchains
WORKDIR $FAIRCHAINS_PATH
RUN openssl genrsa -out electrumx.key 2048
RUN openssl req -new -key electrumx.key -out electrumx.csr -subj "/C=GB/ST=London/L=London/O=electrumfairchainsx/OU=electrumfairchainsx/CN=faircoin.co"
RUN openssl x509 -req -days 1825 -in electrumx.csr -signkey electrumx.key -out electrumx.crt
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment