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
2026-04-10 10:14:34 +07:00
parent d99f63cf36
commit 5d3780cfd2
2 changed files with 20 additions and 3 deletions

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