add VOLUME, WORKDIR, and ENTRYPOINT

This commit is contained in:
Jakub Sokołowski 2018-10-05 14:09:16 -04:00
parent cca4e5b3c2
commit e248145683
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 5 additions and 1 deletions

View File

@ -16,5 +16,9 @@ RUN cd /tmp && \
mv livepeer_linux/* /usr/bin/ && \
rm -r ${LIVEPEER_ARCHIVE} livepeer_linux
ENTRYPOINT /usr/bin/livepeer_cli
# folder for LivePeer data
VOLUME /root/.lpData
WORKDIR /tmp
ENTRYPOINT /usr/bin/livepeer
CMD ["--help"]