mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix: we need bun 1.3.5 becuase of the Terminal feature. close #15
This commit is contained in:
+3
-4
@@ -1,4 +1,4 @@
|
||||
FROM oven/bun:1.3.4 AS deps
|
||||
FROM oven/bun:1.3.5 AS deps
|
||||
|
||||
WORKDIR /home/bun/app
|
||||
|
||||
@@ -16,13 +16,12 @@ COPY cli ./cli
|
||||
COPY server ./server
|
||||
COPY web ./web
|
||||
|
||||
RUN bun add --no-save react-devtools-core@6.1.2 \
|
||||
&& bun run build:single-exe \
|
||||
RUN bun run build:single-exe \
|
||||
&& mkdir -p /out \
|
||||
&& cp cli/dist-exe/bun-linux-*/hapi /out/hapi
|
||||
|
||||
|
||||
FROM oven/bun:1.3.4-slim AS runtime
|
||||
FROM oven/bun:1.3.5-slim AS runtime
|
||||
|
||||
WORKDIR /home/bun/app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user