More re-organization and removed duplicate RUN
This commit is contained in:
parent
681becc7bf
commit
a1bce599d5
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue