Add more instructions for running in Docker

This commit is contained in:
Jesse Wierzbinski 2023-11-27 15:42:52 -10:00
parent 5226f9ff4e
commit d2763d2761
No known key found for this signature in database
3 changed files with 74 additions and 18 deletions

View file

@ -39,4 +39,9 @@ WORKDIR /app
RUN bunx prisma generate
# CD to app
WORKDIR /app
ENTRYPOINT [ "bun", "run", "index.ts" ]
ENTRYPOINT [
# Run migrations and start the server
"bun", "migrate",
"&&", "bunx", "prisma", "generate",
"&&", "bun", "run", "index.ts"
]