Skip to content

Commit

Permalink
add migration to docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
scefali committed Jun 9, 2024
1 parent 2c52d84 commit ba969f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions other/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ COPY --from=flyio/litefs:0.5.11 /usr/local/bin/litefs /usr/local/bin/litefs
ADD other/litefs.yml /etc/litefs.yml
RUN mkdir -p /data ${LITEFS_DIR}

RUN npx prisma migrate dev

ADD . .

CMD ["litefs", "mount"]

0 comments on commit ba969f6

Please sign in to comment.