Update Docker build process and documentation

- Replaced `bun run build:bun` with `npm run build` in Dockerfile for consistency.
- Enhanced `DOCKER.md` to include `DATA_DIR` environment variable usage for database persistence.
- Clarified paths for container and host data storage.
This commit is contained in:
nghionpoint committed 2026-04-10 10:14:34 +07:00
1 parent d99f63cf36
commit 5d3780cfd2
2 files changed
+20 -3

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ RUN --mount=type=cache,target=/root/.npm \
COPY . ./
ENV NEXT_TELEMETRY_DISABLED=1
RUN bun run build:bun
RUN npm run build
FROM oven/bun:1-alpine AS runner
WORKDIR /app