diff --git a/Dockerfile b/Dockerfile index 85f549b6891973332ad54b6dcd0e2ea07386b146..3f2662cda92fb22c7a968accc50269694d6c43a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,8 @@ RUN apk add --no-cache -t build-deps make gcc g++ python ca-certificates libc-de && mv node_modules / \ && cd / \ && rm -rf /tmp/* \ - && apk del build-deps + && apk del build-deps \ + && sh -c 'cd /build/tools; for TOOL in *.js; do LINK="/usr/bin/$(basename $TOOL .js)"; echo -e "#/bin/sh\nnode /build/tools/$TOOL \$@" > $LINK; chmod +x $LINK; done' ENV NODE_ENV=production