update dockerfile
This commit is contained in:
+3
-2
@@ -17,11 +17,12 @@ RUN bun install --frozen-lockfile
|
|||||||
|
|
||||||
# Copy source code and supporting files
|
# Copy source code and supporting files
|
||||||
COPY src/ src/
|
COPY src/ src/
|
||||||
COPY generated/ generated/
|
|
||||||
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
|
||||||
|
RUN 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 \
|
||||||
--compile \
|
--compile \
|
||||||
|
|||||||
Reference in New Issue
Block a user