From 1656b5017fc84e04b73a71b5f734dabf36ac6849 Mon Sep 17 00:00:00 2001 From: Leopere Date: Wed, 3 Oct 2018 14:29:00 -0400 Subject: [PATCH] More re-organization and removed duplicate RUN --- chainquery/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/chainquery/Dockerfile b/chainquery/Dockerfile index a1401ef..3f4638c 100644 --- a/chainquery/Dockerfile +++ b/chainquery/Dockerfile @@ -3,8 +3,10 @@ FROM ubuntu:18.04 MAINTAINER chamunks [at] gmail [dot] com ADD chainqueryconfig.toml ~/chainqueryconfig.toml +ADD start.sh /usr/local/bin/start +ADD docker-entrypoint.sh /usr/local/bin/docker-entrypoint -RUN RUN adduser chainquery --gecos GECOS --shell /bin/bash --disabled-password --home /data/ && \ +RUN adduser chainquery --gecos GECOS --shell /bin/bash --disabled-password --home /data/ && \ apt-get update && \ apt-get -y install unzip wget && \ apt-get autoclean -y && \ @@ -15,9 +17,6 @@ RUN wget -O /usr/bin/chainquery.zip https://github.com/lbryio/chainquery/release unzip chainquery.zip && \ rm chainquery.zip -ADD start.sh /usr/local/bin/start -ADD docker-entrypoint.sh /usr/local/bin/docker-entrypoint - USER lbrycrdd ## Expose Chainquery API port