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