You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
549 B
Docker
22 lines
549 B
Docker
FROM ubuntu:latest
|
|
MAINTAINER Storj Labs (bill@storj.io)
|
|
|
|
RUN apt-get update && apt-get -y upgrade && \
|
|
apt-get -y install curl && \
|
|
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
|
|
apt-get -y install vim libssl-dev nodejs git python build-essential && \
|
|
node --version && \
|
|
npm --version && \
|
|
python --version && \
|
|
npm install --global storjshare-daemon && \
|
|
storjshare --version
|
|
|
|
VOLUME /root/.config
|
|
VOLUME /storage
|
|
|
|
COPY docker-entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
CMD ["storjshare"]
|
|
|
|
EXPOSE 4000 4001 4002 4003
|