aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"]