update Dockerfile-bun
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ COPY . .
|
|||||||
RUN bun run bun:build
|
RUN bun run bun:build
|
||||||
|
|
||||||
# only prod dependencies
|
# only prod dependencies
|
||||||
RUN bun prune --omit=dev
|
RUN rm -rf node_modules && bun install --frozen-lockfile --production
|
||||||
|
|
||||||
# ---- runtime ----
|
# ---- runtime ----
|
||||||
FROM oven/bun:alpine AS runner
|
FROM oven/bun:alpine AS runner
|
||||||
|
|||||||
Reference in New Issue
Block a user