mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
15 lines
259 B
Docker
15 lines
259 B
Docker
FROM zaqwsx_ipfs-test-img
|
|
|
|
RUN ipfs init -b=1024
|
|
ADD . /tmp/test
|
|
RUN mv -f /tmp/test/config /root/.go-ipfs/config
|
|
RUN ipfs id
|
|
RUN chmod +x /tmp/test/run.sh
|
|
|
|
EXPOSE 4021 4022/udp
|
|
|
|
ENV IPFS_LOGGING_FMT nocolor
|
|
|
|
ENTRYPOINT ["/bin/bash"]
|
|
CMD ["/tmp/test/run.sh"]
|