Skip to content

Commit

Permalink
Use alpine for the images
Browse files Browse the repository at this point in the history
  • Loading branch information
PolpOnline committed Dec 19, 2024
1 parent f6418ad commit 221beac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/nixpacks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 1 addition & 0 deletions src/frontend/nixpacks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
NIXPACKS_NODE_VERSION = '22'

[start]
runImage = 'alpine:latest'
cmd = 'node build'

0 comments on commit 221beac

Please sign in to comment.