🎉 initial commit

This commit is contained in:
2023-01-02 22:35:10 -05:00
commit 6d035df93b
3 changed files with 33 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:lts
ENV CLUSTER_VERSION v1.0.4
ENV CLUSTER_TAR ipfs-cluster-ctl_${CLUSTER_VERSION}_linux-amd64.tar.gz
RUN set -x \
&& wget "https://dist.ipfs.io/ipfs-cluster-ctl/$CLUSTER_VERSION/$CLUSTER_TAR" \
&& tar -xzf "$CLUSTER_TAR" --strip-components=1 ipfs-cluster-ctl/ipfs-cluster-ctl \
&& mv ipfs-cluster-ctl /usr/local/bin
ADD pin.sh /usr/local/bin/pin.sh
ENTRYPOINT [ "/usr/local/bin/pin.sh" ]