update dockerfile

This commit is contained in:
2026-02-25 20:08:09 -06:00
parent 9b0ce047a6
commit 075074456b
+3 -2
View File
@@ -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 \