rebase and reapply

Signed-off-by: jsign <jsign.uy@gmail.com>
This commit is contained in:
jsign 2020-01-27 15:08:08 -03:00
parent dff6e87ce9
commit c6e63db7b4
No known key found for this signature in database
GPG Key ID: 224645234054CA7E

View File

@ -79,13 +79,15 @@ EXPOSE 5678
ENV HOME_PATH /data ENV HOME_PATH /data
ENV PARAMCACHE_PATH /var/tmp/filecoin-proof-parameters ENV PARAMCACHE_PATH /var/tmp/filecoin-proof-parameters
RUN mkdir -p $HOME_PATH \ RUN mkdir -p $HOME_PATH $PARAMCACHE_PATH \
&& adduser -D -h $HOME_PATH -u 1000 -G users lotus \ && adduser -D -h $HOME_PATH -u 1000 -G users lotus \
&& chown lotus:users $HOME_PATH && chown lotus:users $HOME_PATH $PARAMCACHE_PATH
VOLUME $HOME_PATH VOLUME $HOME_PATH
VOLUME $PARAMCACHE_PATH VOLUME $PARAMCACHE_PATH
USER lotus
# Execute the daemon subcommand by default # Execute the daemon subcommand by default
CMD ["/sbin/tini", "--", "lotus", "daemon"] CMD ["/sbin/tini", "--", "lotus", "daemon"]