Appsettings migration fix, #build

Changed:
- Fixed calling appsettings migration at startup
This commit is contained in:
Simon 2025-01-27 17:51:06 +07:00
commit 05ff9df049
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# multi stage to build tube archivist
# build python wheel, download and extract ffmpeg, copy into final image
FROM node:lts-alpine as node-builder
FROM node:lts-alpine AS node-builder
# RUN npm config set registry https://registry.npmjs.org/
@ -24,7 +24,7 @@ COPY ./backend/requirements.txt /requirements.txt
RUN pip install --user -r requirements.txt
# build ffmpeg
FROM python:3.11.8-slim-bookworm as ffmpeg-builder
FROM python:3.11.8-slim-bookworm AS ffmpeg-builder
ARG TARGETPLATFORM
@ -32,7 +32,7 @@ COPY docker_assets/ffmpeg_download.py ffmpeg_download.py
RUN python ffmpeg_download.py $TARGETPLATFORM
# build final image
FROM python:3.11.8-slim-bookworm as tubearchivist
FROM python:3.11.8-slim-bookworm AS tubearchivist
ARG INSTALL_DEBUG

View File

@ -42,6 +42,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
"""run all commands"""
self.stdout.write(TOPIC)
self._mig_app_settings()
self._make_folders()
self._clear_redis_keys()
self._clear_tasks()