aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index f2a433e2..a5f64bbb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,6 @@ FROM oven/bun:1.0.1 as build
WORKDIR /due
RUN apt update -y && apt upgrade -y
-
RUN apt install sqlite3 -y
COPY package.json ./
@@ -13,16 +12,15 @@ 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.1
WORKDIR /due
-COPY --from=build /due .
+COPY --from=build /due/build ./build
+COPY --from=build /due/data ./data
EXPOSE 3000