Replies: 2 comments 2 replies
-
What does this mean? |
Beta Was this translation helpful? Give feedback.
1 reply
-
The minimum reproducing case.Touch index.ts import { PGlite } from '@electric-sql/pglite'
const client = new PGlite(process.env.DATABASE_URL)
client.exec('SELECT 1').then((res) => console.log(res))Create Dockerfile FROM oven/bun:alpine AS build
WORKDIR /work
COPY package.json tsconfig.json ./
RUN bun install
COPY index.ts index.ts
RUN bun build index.ts --outdir dist
ENTRYPOINT ["bun", "run", "dist/index.js"]DevIn docker |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use
bun + elysia + drizzle-orm + pglite, and i run directbun run src/index.ts, it can auto createpglite.datadir.I use it on docker
I got error
my package.json
Beta Was this translation helpful? Give feedback.
All reactions