Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Remove hard-coded UID 1000 for nem account #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down