Add /usr/bin/migrate command only for this release

This commit is contained in:
Johannes Zellner 2024-09-19 19:40:07 +02:00
parent 1ef5ac6f04
commit 70a6487409

View file

@ -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/*