From dd535f640c9878fe14759503f98e82bed08bb9c5 Mon Sep 17 00:00:00 2001 From: sushi-chaaaan Date: Mon, 13 May 2024 14:34:47 +0900 Subject: [PATCH] chore(docker): script directory --- migrate/Dockerfile | 2 +- .../scripts/{migrations => }/convert_data_from_v1.py | 0 .../scripts/{migrations => }/migrate_all.py | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename migrate/birdxplorer_migration/scripts/{migrations => }/convert_data_from_v1.py (100%) rename migrate/birdxplorer_migration/scripts/{migrations => }/migrate_all.py (100%) diff --git a/migrate/Dockerfile b/migrate/Dockerfile index 646f3a5..0be3434 100644 --- a/migrate/Dockerfile +++ b/migrate/Dockerfile @@ -30,5 +30,5 @@ COPY --from=builder /wait /wait COPY --from=builder /usr/local/lib/python${PYTHON_VERSION_CODE}/site-packages /usr/local/lib/python${PYTHON_VERSION_CODE}/site-packages COPY --chown=app:app . ./ -ENV WAIT_COMMAND="python birdxplorer_migration/scripts/migrations/migrate_all.py birdxplorer_migration/data/appv1/" +ENV WAIT_COMMAND="python birdxplorer_migration/scripts/migrate_all.py birdxplorer_migration/data/appv1/" ENTRYPOINT ["/wait"] diff --git a/migrate/birdxplorer_migration/scripts/migrations/convert_data_from_v1.py b/migrate/birdxplorer_migration/scripts/convert_data_from_v1.py similarity index 100% rename from migrate/birdxplorer_migration/scripts/migrations/convert_data_from_v1.py rename to migrate/birdxplorer_migration/scripts/convert_data_from_v1.py diff --git a/migrate/birdxplorer_migration/scripts/migrations/migrate_all.py b/migrate/birdxplorer_migration/scripts/migrate_all.py similarity index 100% rename from migrate/birdxplorer_migration/scripts/migrations/migrate_all.py rename to migrate/birdxplorer_migration/scripts/migrate_all.py