mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
Fix Dockerfile
This commit is contained in:
parent
c8cafc9e8b
commit
e3d999d7bd
|
|
@ -39,9 +39,6 @@ WORKDIR /app
|
|||
RUN bunx prisma generate
|
||||
# CD to app
|
||||
WORKDIR /app
|
||||
ENTRYPOINT [
|
||||
ENV NODE_ENV=production
|
||||
# Run migrations and start the server
|
||||
"bun", "migrate",
|
||||
"&&", "bunx", "prisma", "generate",
|
||||
"&&", "bun", "run", "index.ts"
|
||||
]
|
||||
ENTRYPOINT [ "bun", "migrate", "&&", "bun", "run", "index.ts" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue