fix: Use Rust 1.86 for edition2024
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -6,8 +6,8 @@ WORKDIR /app/admin-ui
|
|
| 6 |
RUN npm install -g pnpm && pnpm install && pnpm build
|
| 7 |
|
| 8 |
# ββ Stage 2: Build Rust Binary ββ
|
| 9 |
-
FROM rust:1.
|
| 10 |
-
RUN apk add --no-cache musl-dev
|
| 11 |
RUN git clone --depth 1 https://github.com/hank9999/kiro.rs.git /app
|
| 12 |
COPY --from=frontend-builder /app/admin-ui/dist /app/admin-ui/dist
|
| 13 |
WORKDIR /app
|
|
|
|
| 6 |
RUN npm install -g pnpm && pnpm install && pnpm build
|
| 7 |
|
| 8 |
# ββ Stage 2: Build Rust Binary ββ
|
| 9 |
+
FROM rust:1.86-alpine AS builder
|
| 10 |
+
RUN apk add --no-cache musl-dev git
|
| 11 |
RUN git clone --depth 1 https://github.com/hank9999/kiro.rs.git /app
|
| 12 |
COPY --from=frontend-builder /app/admin-ui/dist /app/admin-ui/dist
|
| 13 |
WORKDIR /app
|