update Dockerfile-bun
This commit is contained in:
+3
-3
@@ -2,11 +2,11 @@
|
|||||||
FROM oven/bun:alpine AS builder
|
FROM oven/bun:alpine AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json bun.lock ./
|
COPY package.json bun.lock tsconfig*.json ./
|
||||||
RUN bun install --frozen-lockfile
|
RUN bun install --frozen-lockfile
|
||||||
|
|
||||||
COPY . .
|
COPY src ./src
|
||||||
RUN bun run build
|
COPY assets ./assets
|
||||||
|
|
||||||
RUN bunx tsc -p tsconfig.build.json
|
RUN bunx tsc -p tsconfig.build.json
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user