From fe90d3277b3dfb459cc1dbf12ae70256e3b48bb7 Mon Sep 17 00:00:00 2001 From: JGAntunes Date: Sat, 24 Mar 2018 14:35:18 +0000 Subject: [PATCH] chore: symlink the jsipfs bin to /usr/bin in the dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a688f82b9e..ee9e1bf024 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ RUN apt-get update \ && apt-get purge --yes $BUILD_DEPS \ && rm -rf /usr/share/doc /usr/share/locale \ && rm -rf /usr/local/share/.cache \ - && rm -rf node_modules/go-ipfs-dep/go-ipfs/ipfs + && rm -rf node_modules/go-ipfs-dep/go-ipfs/ipfs \ + && ln -s $(pwd)/src/cli/bin.js /usr/local/bin/jsipfs CMD ./init-and-daemon.sh