chore(dev): 改用 Compose named volume
This commit is contained in:
+4
-1
@@ -1,4 +1,4 @@
|
||||
FROM oven/bun:1.3.13 AS build
|
||||
FROM oven/bun:1.3.13 AS source
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -6,6 +6,9 @@ COPY package.json bun.lock ./
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
FROM source AS build
|
||||
|
||||
RUN bun run build \
|
||||
&& bun run compile \
|
||||
&& mv out/server-* out/server
|
||||
|
||||
Reference in New Issue
Block a user