From 221beac0d2e3958cfe86d0b6a4b69f98ee8e1811 Mon Sep 17 00:00:00 2001 From: PolpOnline Date: Thu, 19 Dec 2024 17:08:05 +0100 Subject: [PATCH] Use alpine for the images --- src/backend/nixpacks.toml | 1 + src/frontend/nixpacks.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/backend/nixpacks.toml b/src/backend/nixpacks.toml index ccf858d..c487b19 100644 --- a/src/backend/nixpacks.toml +++ b/src/backend/nixpacks.toml @@ -6,4 +6,5 @@ nixPkgs = ['mold'] cmds = ['mkdir -p bin', 'RUSTFLAGS="-C link-arg=-fuse-ld=mold" cargo build --release', 'cp target/release/monitor bin/'] [start] +runImage = 'alpine:latest' cmd = './bin/monitor' \ No newline at end of file diff --git a/src/frontend/nixpacks.toml b/src/frontend/nixpacks.toml index 15fe330..8f7dda5 100644 --- a/src/frontend/nixpacks.toml +++ b/src/frontend/nixpacks.toml @@ -2,4 +2,5 @@ NIXPACKS_NODE_VERSION = '22' [start] +runImage = 'alpine:latest' cmd = 'node build' \ No newline at end of file