aboutsummaryrefslogtreecommitdiff
path: root/Earthfile
diff options
context:
space:
mode:
Diffstat (limited to 'Earthfile')
-rw-r--r--Earthfile22
1 files changed, 3 insertions, 19 deletions
diff --git a/Earthfile b/Earthfile
index 16fecad5..a3f1d09c 100644
--- a/Earthfile
+++ b/Earthfile
@@ -27,25 +27,9 @@ source:
COPY vite.config.ts vite.config.ts
dev:
- FROM +source
-
- CMD ["bun", "--bun", "run", "dev", "--host"]
-
- SAVE IMAGE fuwn/due-next-dev:latest
-
-rundev:
- FROM earthly/dind:alpine
-
- WITH DOCKER --load +dev
- RUN docker run --network=host \
- # -v $PWD/src:/due/src \
- # -v $PWD/static:/due/static \
- # -v $PWD/due_moe_schema.sql:/adue/due_moe_schema.sql \
- # -v $PWD/svelte.config.js:/app/svelte.config.js \
- # -v $PWD/tsconfig.json:/app/tsconfig.json \
- # -v $PWD/vite.config.ts:/app/vite.config.ts \
- fuwn/due-next-dev:latest
- END
+ LOCALLY
+
+ RUN bun --bun run dev --host
lint:
FROM +source