mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-07 16:01:24 +00:00
bookworm base
This commit is contained in:
+2
-3
@@ -1,5 +1,5 @@
|
||||
# Build Core
|
||||
FROM rust:1.78.0-bullseye as core-builder
|
||||
FROM rust:1.78.0-bookworm as core-builder
|
||||
WORKDIR /builder
|
||||
COPY . .
|
||||
RUN cargo build -p monitor_core --release
|
||||
@@ -13,8 +13,7 @@ RUN cd client && yarn && yarn build && yarn link
|
||||
RUN cd frontend && yarn link @monitor/client && yarn && yarn build
|
||||
|
||||
# Final Image
|
||||
# FROM gcr.io/distroless/cc
|
||||
FROM debian:bullseye-slim
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt update && apt install -y ca-certificates
|
||||
COPY ./config_example/core.config.example.toml /config/config.toml
|
||||
COPY --from=core-builder /builder/target/release/core /
|
||||
|
||||
@@ -11,7 +11,7 @@ pub async fn migrate_all(
|
||||
legacy_db: &v0::DbClient,
|
||||
target_db: &crate::DbClient,
|
||||
) -> anyhow::Result<()> {
|
||||
// migrate_users(legacy_db, target_db).await?;
|
||||
migrate_users(legacy_db, target_db).await?;
|
||||
migrate_servers(legacy_db, target_db).await?;
|
||||
migrate_deployments(legacy_db, target_db).await?;
|
||||
migrate_builds(legacy_db, target_db).await?;
|
||||
|
||||
Reference in New Issue
Block a user