Im trying to run drizzle-kit push:sqlite
this command which is meant to create the necessary tables but It never does. I even try to run the command using fly ssh console
but it just closes after a few seconds.
Would appreciate some help with this.
Running the Dockerfile on its own works but not during fly deploy
.
Heres the command in the docker file. This is the final stage of the build. The migrations are created during the build stage
# Ensure our mount & data directories exists before mounting.
RUN mkdir -p /data
RUN npm run db:push # package.json script to run the command
CMD ["npm", "start"]