update dockerfile
This commit is contained in:
+3
-2
@@ -18,10 +18,11 @@ RUN bun install --frozen-lockfile
|
|||||||
# Copy source code and supporting files
|
# Copy source code and supporting files
|
||||||
COPY src/ src/
|
COPY src/ src/
|
||||||
COPY prisma/ prisma/
|
COPY prisma/ prisma/
|
||||||
|
COPY public-keys/ public-keys/
|
||||||
COPY prisma.config.ts tsconfig.json ./
|
COPY prisma.config.ts tsconfig.json ./
|
||||||
|
|
||||||
# Generate Prisma client
|
# Generate Prisma client (dummy URL — generate only needs the schema, not a real DB)
|
||||||
RUN bunx prisma generate
|
RUN DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" bunx prisma generate
|
||||||
|
|
||||||
# Compile to a standalone executable
|
# Compile to a standalone executable
|
||||||
RUN bun build src/index.ts \
|
RUN bun build src/index.ts \
|
||||||
|
|||||||
Reference in New Issue
Block a user