0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00

Removed knex-migrator init from Docker entrypoint (#22222)

no issue

- This fails when running the Ghost container alone (i.e. for unit
tests) since there is no database available.
- The database will be initialized when running `yarn dev` for the first
time anyhow, so this isn't really necessary here.
This commit is contained in:
Chris Raible 2025-02-18 16:14:39 -08:00 committed by GitHub
parent dd521a13ef
commit 12f14ae891
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,8 +3,5 @@
# Adjust local configuration
node /home/ghost/.github/scripts/setup-docker.js
# Run migrations
yarn knex-migrator init
# Execute the CMD
exec "$@"