aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-06 22:20:20 -0800
committerFuwn <[email protected]>2023-12-06 22:20:20 -0800
commit0d293beee8b8bdea671fef22ced18a7914682fee (patch)
tree84b84b6a9824677054aa1545257851bbe58e396d
parentci(earthly): switch to alpine (diff)
downloaddue.moe-0d293beee8b8bdea671fef22ced18a7914682fee.tar.xz
due.moe-0d293beee8b8bdea671fef22ced18a7914682fee.zip
ci(earthly): docker from build
-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"]