forked from cerc-io/ipld-eth-server
16 lines
275 B
Docker
16 lines
275 B
Docker
FROM zaqwsx_ipfs-test-img
|
|
|
|
RUN ipfs init -b=1024
|
|
ADD . /tmp/test
|
|
RUN mv -f /tmp/test/config /root/.ipfs/config
|
|
RUN ipfs id
|
|
RUN chmod +x /tmp/test/run.sh
|
|
|
|
EXPOSE 4021 4022/udp
|
|
|
|
ENV IPFS_PROF true
|
|
ENV IPFS_LOGGING_FMT nocolor
|
|
|
|
ENTRYPOINT ["/bin/bash"]
|
|
CMD ["/tmp/test/run.sh"]
|