Adding chainquery user directory

This commit is contained in:
Leopere 2018-10-03 14:47:25 -04:00
parent bb294db85a
commit 6ac1a9491e

View file

@ -15,7 +15,10 @@ RUN adduser chainquery --gecos GECOS --shell /bin/bash --disabled-password --hom
RUN wget -O /usr/bin/chainquery.zip https://github.com/lbryio/chainquery/releases/download/v1.1.2/chainquery_1.1.2_Linux_x86_64.zip && \
cd /usr/bin/ && \
unzip chainquery.zip && \
rm chainquery.zip
rm chainquery.zip && \
mkdir -v /data && \
chown -R 1000:1000 /data && \
chmod -R 755 /data
USER chainquery