diff --git a/Dockerfile b/Dockerfile index 894df6f..273f9d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN sha=$(curl -L -s http://hugealice.nem.ninja:7890/transaction/get?hash=$(curl RUN tar zxf nis-0.6.100.tgz -RUN useradd --uid 1000 nem +RUN useradd nem RUN mkdir -p /home/nem/nem/ncc/ RUN mkdir -p /home/nem/nem/nis/ RUN chown nem /home/nem/nem -R diff --git a/boot.sh b/boot.sh index 9e881d1..0bf89a6 100755 --- a/boot.sh +++ b/boot.sh @@ -35,7 +35,7 @@ config_file=$PWD/custom-configs/supervisord.conf mkdir -p $PWD/nem/ncc mkdir -p $PWD/nem/nis -chown -R 1000 nem +chown -R nem docker run --restart always --name mynem_container -v ${PWD}/nem:/home/nem/nem $config_mounts -t -d -p 7777:7777 -p 7778:7778 -p 7880:7880 -p 7890:7890 -p 8989:8989 mynem_image