aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-06 18:53:48 -0800
committerFuwn <[email protected]>2023-12-06 18:53:48 -0800
commitc9ce24fa9b1573d597a6a340c31c79c8b5e892ad (patch)
tree13b7859da1840c7f2e9c351a6e6870635e931756
parentci(docker): bun run (diff)
downloaddue.moe-c9ce24fa9b1573d597a6a340c31c79c8b5e892ad.tar.xz
due.moe-c9ce24fa9b1573d597a6a340c31c79c8b5e892ad.zip
ci(earthly): minimal docker
-rw-r--r--Earthfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Earthfile b/Earthfile
index ae455bb7..9de1ab83 100644
--- a/Earthfile
+++ b/Earthfile
@@ -69,10 +69,12 @@ build:
RUN sqlite3 data/due_moe.sqlite3 < due_moe_schema.sql
RUN bun --bun run vite build
- SAVE IMAGE
+ SAVE ARTIFACT build ./build
docker:
- FROM +build
+ FROM +deps
+
+ COPY +build/build ./build
CMD ["bun", "--bun", "./build/index.js"]