master
text 15 lines 272 Bytes
Raw
1 FROM zaqwsx_ipfs-test-img
2
3 RUN ipfs init -b=2048
4 ADD . /tmp/test
5 RUN mv -f /tmp/test/config /root/.ipfs/config
6 RUN ipfs id
7 RUN chmod +x /tmp/test/run.sh
8
9 EXPOSE 4021 4022/udp
10
11 ENV IPFS_PROF true
12 ENV GOLOG_LOG_FMT nocolor
13
14 ENTRYPOINT ["/bin/bash"]
15 CMD ["/tmp/test/run.sh"]