From 5f59f731b2e54741fddc7eef46efa71fc578525d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 12 Aug 2021 14:50:43 -0700 Subject: [PATCH] Add proper peertube command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 176c591..31f1145 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ COPY production.yaml.example start.sh /app/pkg/ ENV NODE_ENV production ENV NODE_CONFIG_DIR /app/code/server/config -RUN echo 'alias peertube="cd /app/code/cli && node dist/server/tools/peertube.js"' > ~/.bashrc +RUN printf '#!/bin/bash\n\ncd /app/code/cli && node dist/server/tools/peertube.js $@\n' > /usr/bin/peertube && chmod +x /usr/bin/peertube CMD [ "/app/pkg/start.sh" ]