Fix migrations to actually run
Test / test (push) Failing after 58s
Details
Test / test (push) Failing after 58s
Details
This commit is contained in:
parent
0cd1e061b7
commit
8a3be36048
|
|
@ -3,4 +3,4 @@ WORKDIR /tack-up-now
|
|||
COPY . .
|
||||
RUN npm install
|
||||
RUN npx -y remix vite:build
|
||||
CMD npx tsx ./api/data/migrate.ts && npx tsx server.ts
|
||||
CMD npx tsx ./api/data/upgrade.ts && npx tsx server.ts
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
import migrateToLatest from "./migrate"
|
||||
|
||||
migrateToLatest()
|
||||
Loading…
Reference in New Issue