Skip to content

Commit

Permalink
feat: added db generate and migrate into Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RilusMahmud committed Jul 18, 2024
1 parent 6fb9c21 commit 73c55e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ COPY . .
# Build the app
RUN bun install --ci && cd frontend && bun install --ci && bun run build

RUN bun run db:generate && bun run db:migrate

# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
CMD [ "bun", "run", "start" ]
Expand Down

0 comments on commit 73c55e4

Please sign in to comment.