aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Earthfile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Earthfile b/Earthfile
index e91ed9fb..67930d9e 100644
--- a/Earthfile
+++ b/Earthfile
@@ -16,9 +16,6 @@ deps:
RUN bun install
- SAVE ARTIFACT package.json AS LOCAL ./package.json
- SAVE ARTIFACT bun.lockb AS LOCAL ./bun.lockb
-
source:
FROM +deps
@@ -67,12 +64,10 @@ build:
RUN sqlite3 data/due_moe.sqlite3 < due_moe_schema.sql
RUN bun --bun run vite build
- SAVE ARTIFACT build ./build
+ SAVE ARTIFACT build
docker:
- FROM oven/bun:1.0.15-alpine
-
- COPY +build/build ./build
+ FROM +build
CMD ["bun", "--bun", "./build/index.js"]