aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-06 17:36:33 -0800
committerFuwn <[email protected]>2023-12-06 17:37:51 -0800
commit774613a62d09c6d452dca730a55f02be15d56970 (patch)
tree95c4353195a4e002879fc9802eb6f25a9558e52b /Dockerfile
parentfeat(manga): mal reading time (diff)
downloaddue.moe-774613a62d09c6d452dca730a55f02be15d56970.tar.xz
due.moe-774613a62d09c6d452dca730a55f02be15d56970.zip
feat(ci): use earthly
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile27
1 files changed, 0 insertions, 27 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index 4a2f24ac..00000000
--- a/Dockerfile
+++ /dev/null
@@ -1,27 +0,0 @@
-FROM oven/bun:1.0.11 as build
-
-WORKDIR /due
-
-RUN apt update -y && apt upgrade -y
-RUN apt install sqlite3 -y
-
-COPY package.json ./
-
-RUN bun install
-
-COPY ./ ./
-
-RUN mkdir data
-RUN sqlite3 data/due_moe.sqlite3 < due_moe_schema.sql
-RUN bun --bun vite build
-
-FROM oven/bun:1.0.11
-
-WORKDIR /due
-
-COPY --from=build /due/build ./build
-COPY --from=build /due/data ./data
-
-EXPOSE 3000
-
-CMD ["bun", "./build/index.js"] \ No newline at end of file