mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-12-22 08:07:22 +00:00
Add /usr/bin/migrate command only for this release
This commit is contained in:
parent
1ef5ac6f04
commit
70a6487409
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ ENV NODE_CONFIG_DIR /app/code/server/config
|
||||||
|
|
||||||
RUN printf '#!/bin/bash\n\ncd /app/code/cli && node dist/server/tools/peertube.js $@\n' > /usr/bin/peertube && chmod +x /usr/bin/peertube
|
RUN printf '#!/bin/bash\n\ncd /app/code/cli && node dist/server/tools/peertube.js $@\n' > /usr/bin/peertube && chmod +x /usr/bin/peertube
|
||||||
|
|
||||||
|
# remove with next releases
|
||||||
|
RUN printf '#!/bin/bash\n\ncd /app/code/server && NODE_ENV=production node dist/scripts/migrations/peertube-6.3.js $@\n' > /usr/bin/migrate && chmod +x /usr/bin/migrate
|
||||||
|
|
||||||
# add nginx config
|
# add nginx config
|
||||||
RUN rm /etc/nginx/sites-enabled/*
|
RUN rm /etc/nginx/sites-enabled/*
|
||||||
|
|
Loading…
Reference in a new issue