Add proper peertube command

This commit is contained in:
Girish Ramakrishnan 2021-08-12 14:50:43 -07:00
parent 293b218804
commit 5f59f731b2

View file

@ -32,7 +32,7 @@ COPY production.yaml.example start.sh /app/pkg/
ENV NODE_ENV production ENV NODE_ENV production
ENV NODE_CONFIG_DIR /app/code/server/config 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" ] CMD [ "/app/pkg/start.sh" ]