mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-11-25 02:51:16 +00:00
Install cli tool
This commit is contained in:
parent
f0c8d851a5
commit
c3eabb7097
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -15,11 +15,11 @@ ARG VERSION=2.3.0
|
||||||
RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf -
|
RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf -
|
||||||
RUN yarn install --production --pure-lockfile
|
RUN yarn install --production --pure-lockfile
|
||||||
|
|
||||||
# dbname branch
|
RUN mkdir /app/code/cli && \
|
||||||
# ARG VERSION=e7fe135b5a5666147256efa11d15474d761c37d4
|
curl -L https://github.com/Chocobozzz/PeerTube/archive/v${VERSION}.tar.gz | tar -zxvf - --strip-components=1 -C /app/code/cli && \
|
||||||
# RUN curl -L https://github.com/cloudron-io/PeerTube/archive/${VERSION}.tar.gz | tar -zxvf - --strip-components=1
|
cd /app/code/cli && \
|
||||||
#
|
NOCLIENT=1 yarn install --pure-lockfile && \
|
||||||
# RUN yarn install && npm run build
|
npm run setup:cli
|
||||||
|
|
||||||
# the json is created and managed by web ui. it overrides the yaml file (https://github.com/lorenwest/node-config/wiki/Configuration-Files)
|
# the json is created and managed by web ui. it overrides the yaml file (https://github.com/lorenwest/node-config/wiki/Configuration-Files)
|
||||||
RUN ln -sf /app/data/production.yaml /app/code/server/config/production.yaml && \
|
RUN ln -sf /app/data/production.yaml /app/code/server/config/production.yaml && \
|
||||||
|
|
Loading…
Reference in a new issue