mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-11-21 17:11:09 +00:00
Add proper peertube command
This commit is contained in:
parent
293b218804
commit
5f59f731b2
1 changed files with 1 additions and 1 deletions
|
@ -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" ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue